Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.002193/0.002193, allocations: 123.4 kB / 17.79 MB, free: 5.281 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.002286/0.002286, allocations: 204.3 kB / 20.74 MB, free: 2.34 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.466/1.466, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2328/0.2328, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 71.89 kB / 0.491 GB, free: 7.832 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1304, allocations: 65.99 MB / 0.5555 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003579/0.134, allocations: 1.925 MB / 0.5574 GB, free: 3.773 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1359, allocations: 1.138 MB / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.365e-05/0.136, allocations: 0 / 0.5585 GB, free: 2.629 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00045/0.1365, allocations: 167.5 kB / 0.5586 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.1369, allocations: 179.3 kB / 0.5588 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1372, allocations: 119.6 kB / 0.5589 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.1375, allocations: 243.3 kB / 0.5591 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.1376, allocations: 25.67 kB / 0.5592 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.1378, allocations: 115.5 kB / 0.5593 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.138, allocations: 139.5 kB / 0.5594 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.138, allocations: 15.88 kB / 0.5594 GB, free: 1.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1381, allocations: 63.97 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.1382, allocations: 51.83 kB / 0.5595 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.6e-05/0.1383, allocations: 87.34 kB / 0.5596 GB, free: 1.441 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1386, allocations: 230.9 kB / 0.5598 GB, free: 1.215 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.1386, allocations: 0 / 0.5598 GB, free: 1.215 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1386, allocations: 0 / 0.5598 GB, free: 1.215 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1386, allocations: 0 / 0.5598 GB, free: 1.215 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007606/0.1394, allocations: 0.5446 MB / 0.5604 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.1394, allocations: 12.03 kB / 0.5604 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.1395, allocations: 38.73 kB / 0.5604 GB, free: 0.5625 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.1395, allocations: 28.75 kB / 0.5605 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.1399, allocations: 287.6 kB / 0.5607 GB, free: 220 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.1399, allocations: 4.375 kB / 0.5607 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.1399, allocations: 15.94 kB / 0.5607 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.1402, allocations: 107.3 kB / 0.5608 GB, free: 80 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1402, allocations: 7.938 kB / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.1402, allocations: 0 / 0.5609 GB, free: 72 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.1402, allocations: 4 kB / 0.5609 GB, free: 68 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.1403, allocations: 51.89 kB / 0.5609 GB, free: 16 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005817/0.1409, allocations: 468.8 kB / 0.5614 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.1413, allocations: 117.2 kB / 0.5615 GB, free: 15.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.1414, allocations: 45.83 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1414, allocations: 3.938 kB / 0.5615 GB, free: 15.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/0.1417, allocations: 117 kB / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.072e-06/0.1417, allocations: 0 / 0.5616 GB, free: 15.18 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001295/0.143, allocations: 0.4899 MB / 0.5621 GB, free: 14.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/0.143, allocations: 85.05 kB / 0.5622 GB, free: 14.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.1434, allocations: 371.3 kB / 0.5625 GB, free: 14.21 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.326e-05/0.1435, allocations: 33.7 kB / 0.5626 GB, free: 14.18 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.1436, allocations: 148.5 kB / 0.5627 GB, free: 14.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.763e-05/0.1436, allocations: 71.38 kB / 0.5628 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.768e-05/0.1437, allocations: 49.7 kB / 0.5628 GB, free: 13.9 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.1439, allocations: 338.8 kB / 0.5632 GB, free: 13.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.144, allocations: 59.97 kB / 0.5632 GB, free: 13.5 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.1442, allocations: 93.52 kB / 0.5633 GB, free: 13.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.1445, allocations: 155.4 kB / 0.5634 GB, free: 13.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1445, allocations: 0 / 0.5634 GB, free: 13.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004205/0.1449, allocations: 241.4 kB / 0.5637 GB, free: 12.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1449, allocations: 8 kB / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1449, allocations: 0 / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1449, allocations: 3.938 kB / 0.5637 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.1451, allocations: 39.98 kB / 0.5637 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.1451, allocations: 4 kB / 0.5637 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.112e-05/0.1451, allocations: 19.98 kB / 0.5637 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1452, allocations: 8 kB / 0.5638 GB, free: 12.91 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000145/0.1453, allocations: 157.8 kB / 0.5639 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.1454, allocations: 35.73 kB / 0.5639 GB, free: 12.71 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.032e-05/0.1454, allocations: 38.06 kB / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.1454, allocations: 0 / 0.564 GB, free: 12.68 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1454, allocations: 3.984 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.1455, allocations: 4 kB / 0.564 GB, free: 12.67 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009415/0.1464, allocations: 0.7233 MB / 0.5647 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.1464, allocations: 4 kB / 0.5647 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.433e-05/0.1465, allocations: 27.92 kB / 0.5647 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1465, allocations: 4 kB / 0.5647 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.1465, allocations: 8 kB / 0.5647 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.458e-05/0.1465, allocations: 16.09 kB / 0.5647 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1465, allocations: 3.938 kB / 0.5648 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004945/0.147, allocations: 416 kB / 0.5651 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.1471, allocations: 104.9 kB / 0.5652 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.1471, allocations: 8 kB / 0.5653 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.1473, allocations: 4 kB / 0.5653 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.1473, allocations: 27.91 kB / 0.5653 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/0.1474, allocations: 8 kB / 0.5653 GB, free: 11.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002819/0.1476, allocations: 277.9 kB / 0.5656 GB, free: 10.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1476, allocations: 0 / 0.5656 GB, free: 10.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003475/0.148, allocations: 51.92 kB / 0.5656 GB, free: 10.89 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00269/0.1507, allocations: 1.368 MB / 0.5669 GB, free: 9.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003517/0.151, allocations: 151.8 kB / 0.5671 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.151, allocations: 0 / 0.5671 GB, free: 9.543 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1512, allocations: 71.84 kB / 0.5672 GB, free: 9.473 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.1517, allocations: 73.77 kB / 0.5672 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003296/0.155, allocations: 2.707 MB / 0.5699 GB, free: 6.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.1554, allocations: 0.7679 MB / 0.5706 GB, free: 5.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.1556, allocations: 41.91 kB / 0.5707 GB, free: 5.734 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.1557, allocations: 91.39 kB / 0.5707 GB, free: 5.645 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1557, allocations: 0 / 0.5707 GB, free: 5.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03024/0.1859, allocations: 6.143 MB / 0.5767 GB, free: 15.57 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/8.602, allocations: 11.12 kB / 0.5768 GB, free: 15.56 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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: 11.728045779978856]