Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001455/0.001455, allocations: 123 kB / 17.79 MB, free: 5.266 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.001565/0.001565, allocations: 207.2 kB / 20.75 MB, free: 2.316 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.504/1.504, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2314/0.2314, 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.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 75.89 kB / 0.491 GB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1288, allocations: 65.99 MB / 0.5554 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004089/0.1328, allocations: 1.937 MB / 0.5573 GB, free: 3.801 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.1351, allocations: 1.07 MB / 0.5584 GB, free: 2.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.1352, allocations: 3.938 kB / 0.5584 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.1356, allocations: 47.7 kB / 0.5584 GB, free: 2.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.1359, allocations: 99.47 kB / 0.5585 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1363, allocations: 95.64 kB / 0.5586 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.1365, allocations: 151.5 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001311/0.1366, allocations: 17.56 kB / 0.5588 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001179/0.1368, allocations: 67.69 kB / 0.5588 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.1369, allocations: 51.66 kB / 0.5589 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.1369, allocations: 8 kB / 0.5589 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.137, allocations: 43.98 kB / 0.5589 GB, free: 2.148 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.587e-05/0.1371, allocations: 35.84 kB / 0.559 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.83e-05/0.1371, allocations: 47.67 kB / 0.559 GB, free: 2.066 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.1374, allocations: 155.2 kB / 0.5592 GB, free: 1.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.1374, allocations: 4 kB / 0.5592 GB, free: 1.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1374, allocations: 4 kB / 0.5592 GB, free: 1.906 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.1374, allocations: 0 / 0.5592 GB, free: 1.906 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007154/0.1381, allocations: 492.1 kB / 0.5596 GB, free: 1.371 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.1382, allocations: 8.031 kB / 0.5597 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.847e-05/0.1382, allocations: 38.75 kB / 0.5597 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.82e-05/0.1383, allocations: 20.83 kB / 0.5597 GB, free: 1.297 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003494/0.1386, allocations: 236.8 kB / 0.5599 GB, free: 1.023 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1387, allocations: 8.375 kB / 0.5599 GB, free: 1.016 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.1387, allocations: 7.938 kB / 0.56 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.139, allocations: 112.2 kB / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.139, allocations: 0 / 0.5601 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.139, allocations: 4 kB / 0.5601 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.139, allocations: 4 kB / 0.5601 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.1392, allocations: 47.91 kB / 0.5601 GB, free: 0.8281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.1398, allocations: 0.501 MB / 0.5606 GB, free: 276 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.1402, allocations: 82.66 kB / 0.5607 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.1403, allocations: 36.84 kB / 0.5607 GB, free: 144 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.1403, allocations: 3.984 kB / 0.5607 GB, free: 140 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.1405, allocations: 87.31 kB / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/0.1405, allocations: 0 / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004273/0.1409, allocations: 145.4 kB / 0.5609 GB, free: 15.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.141, allocations: 55.41 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.1412, allocations: 202.3 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.1412, allocations: 25.7 kB / 0.5612 GB, free: 15.59 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.1413, allocations: 124 kB / 0.5613 GB, free: 15.46 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.1414, allocations: 31.73 kB / 0.5614 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.1414, allocations: 29.7 kB / 0.5614 GB, free: 15.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1416, allocations: 326.8 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.901e-05/0.1417, allocations: 23.98 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.1418, allocations: 76.39 kB / 0.5618 GB, free: 14.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002034/0.142, allocations: 104.5 kB / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.142, allocations: 0 / 0.5619 GB, free: 14.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000311/0.1423, allocations: 137.5 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.1423, allocations: 4 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1423, allocations: 3.984 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1423, allocations: 7.938 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.838e-05/0.1424, allocations: 16 kB / 0.5621 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.1425, allocations: 11.92 kB / 0.5621 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.773e-05/0.1425, allocations: 16.08 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1425, allocations: 8 kB / 0.5621 GB, free: 14.63 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001188/0.1427, allocations: 128 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.377e-05/0.1427, allocations: 19.89 kB / 0.5622 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.438e-05/0.1427, allocations: 13.41 kB / 0.5622 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1427, allocations: 7.938 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1427, allocations: 0 / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1427, allocations: 3.938 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.1429, allocations: 213.6 kB / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.1429, allocations: 0 / 0.5625 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.143, allocations: 15.98 kB / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.143, allocations: 0 / 0.5625 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.143, allocations: 7.938 kB / 0.5625 GB, free: 14.17 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.143, allocations: 3.938 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.1431, allocations: 3.984 kB / 0.5625 GB, free: 14.16 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.1435, allocations: 185 kB / 0.5627 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.1435, allocations: 89.05 kB / 0.5628 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.1435, allocations: 4 kB / 0.5628 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.1436, allocations: 11.92 kB / 0.5628 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.1436, allocations: 8 kB / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.1437, allocations: 3.984 kB / 0.5628 GB, free: 13.83 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001341/0.1438, allocations: 148.4 kB / 0.5629 GB, free: 13.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1438, allocations: 0 / 0.5629 GB, free: 13.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002476/0.144, allocations: 27.94 kB / 0.5629 GB, free: 13.66 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002161/0.1462, allocations: 1.023 MB / 0.5639 GB, free: 12.77 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002707/0.1465, allocations: 79.97 kB / 0.564 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1465, allocations: 4.062 kB / 0.564 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.1466, allocations: 31.98 kB / 0.5641 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.1469, allocations: 43.64 kB / 0.5641 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00232/0.1492, allocations: 1.762 MB / 0.5658 GB, free: 10.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.1496, allocations: 0.7162 MB / 0.5665 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.666e-05/0.1497, allocations: 17.42 kB / 0.5665 GB, free: 9.984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1498, allocations: 47.36 kB / 0.5666 GB, free: 9.938 MB / 430.1 MB Notification: Performance of SimCode: time 5.62e-07/0.1498, allocations: 0 / 0.5666 GB, free: 9.938 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02687/0.1766, allocations: 3.855 MB / 0.5703 GB, free: 6.148 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.21/8.386, allocations: 7.031 kB / 0.5704 GB, free: 6.145 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.440841787029058]