Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 210.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2383/0.2383, allocations: 46.95 MB / 360.9 MB, free: 4.066 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 63.89 kB / 0.4962 GB, free: 7.684 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3457, allocations: 66.04 MB / 0.5607 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003315/0.349, allocations: 1.71 MB / 0.5623 GB, free: 2.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.3509, allocations: 0.9715 MB / 0.5633 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.359e-05/0.351, allocations: 0 / 0.5633 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.3513, allocations: 39.77 kB / 0.5633 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003239/0.3517, allocations: 95.55 kB / 0.5634 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.3519, allocations: 75.73 kB / 0.5635 GB, free: 1.344 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001925/0.3521, allocations: 115.6 kB / 0.5636 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.3522, allocations: 9.828 kB / 0.5636 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.671e-05/0.3523, allocations: 47.78 kB / 0.5636 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.502e-05/0.3524, allocations: 27.84 kB / 0.5637 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3524, allocations: 4 kB / 0.5637 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/0.3525, allocations: 43.98 kB / 0.5637 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.194e-05/0.3525, allocations: 19.86 kB / 0.5637 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.3526, allocations: 31.8 kB / 0.5638 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.3528, allocations: 119.5 kB / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3528, allocations: 0 / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3528, allocations: 0 / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.3528, allocations: 0 / 0.5639 GB, free: 0.9336 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005528/0.3534, allocations: 341.6 kB / 0.5642 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.3534, allocations: 15.97 kB / 0.5642 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.191e-05/0.3534, allocations: 34.73 kB / 0.5643 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.3535, allocations: 16.83 kB / 0.5643 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.3538, allocations: 150.3 kB / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3538, allocations: 384 / 0.5644 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.3538, allocations: 7.938 kB / 0.5644 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.354, allocations: 53.67 kB / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.354, allocations: 0 / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.354, allocations: 0 / 0.5645 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.354, allocations: 8 kB / 0.5645 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.3541, allocations: 19.98 kB / 0.5645 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.3545, allocations: 259.9 kB / 0.5647 GB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.3547, allocations: 54.67 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.3547, allocations: 20.84 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.3547, allocations: 7.938 kB / 0.5648 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001886/0.3549, allocations: 67.33 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3549, allocations: 0 / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.000584/0.3555, allocations: 189.3 kB / 0.5651 GB, free: 15.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.3556, allocations: 59.34 kB / 0.5651 GB, free: 15.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.3558, allocations: 187.2 kB / 0.5653 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.3558, allocations: 25.7 kB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.3559, allocations: 108.1 kB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.3559, allocations: 23.84 kB / 0.5655 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.3559, allocations: 21.72 kB / 0.5655 GB, free: 15.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.3562, allocations: 326.8 kB / 0.5658 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-05/0.3562, allocations: 19.98 kB / 0.5658 GB, free: 14.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.612e-05/0.3563, allocations: 41.7 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3564, allocations: 65.7 kB / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3564, allocations: 0 / 0.5659 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002075/0.3566, allocations: 105.6 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3567, allocations: 8 kB / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.3567, allocations: 0 / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3567, allocations: 0 / 0.566 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.3568, allocations: 19.92 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.3568, allocations: 4 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.019e-05/0.3568, allocations: 15.84 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3568, allocations: 4 kB / 0.5661 GB, free: 14.49 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.357, allocations: 125.8 kB / 0.5662 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.357, allocations: 7.953 kB / 0.5662 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002705/0.3573, allocations: 123 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3573, allocations: 4 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3573, allocations: 0 / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.3573, allocations: 3.938 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.3578, allocations: 366.4 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.3578, allocations: 4.312 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.503e-05/0.3578, allocations: 15.98 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.3578, allocations: 3.938 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.3578, allocations: 7.938 kB / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3578, allocations: 0 / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3578, allocations: 0 / 0.5667 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.3581, allocations: 212.2 kB / 0.5669 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.272e-05/0.3581, allocations: 11.94 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.551e-05/0.3581, allocations: 7.938 kB / 0.5669 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.3582, allocations: 4.375 kB / 0.5669 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3583, allocations: 19.91 kB / 0.5669 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.3583, allocations: 8 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.3584, allocations: 145.8 kB / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3584, allocations: 0 / 0.5671 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.3587, allocations: 20 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002281/0.361, allocations: 1.137 MB / 0.5682 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3612, allocations: 63.84 kB / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3612, allocations: 0 / 0.5683 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.656e-05/0.3612, allocations: 27.98 kB / 0.5683 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3616, allocations: 32.92 kB / 0.5683 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001896/0.3635, allocations: 1.651 MB / 0.5699 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.861e-05/0.3636, allocations: 92.17 kB / 0.57 GB, free: 10.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.743e-05/0.3636, allocations: 9.297 kB / 0.57 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.3637, allocations: 35.42 kB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3637, allocations: 0 / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0291/0.3928, allocations: 4.117 MB / 0.5741 GB, free: 6.297 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.05, allocations: 22.69 kB / 0.5741 GB, free: 6.281 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.094915686000604]