Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001419/0.001419, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.001496/0.001496, allocations: 208.3 kB / 20.75 MB, free: 2.297 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.641/1.641, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2393/0.2393, allocations: 46.91 MB / 357.1 MB, free: 10.32 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.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002102/0.002102, allocations: 67.89 kB / 0.491 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1383, allocations: 66 MB / 0.5555 GB, free: 5.754 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.00369/0.142, allocations: 1.679 MB / 0.5571 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.1439, allocations: 1.019 MB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.144, allocations: 0 / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004344/0.1444, allocations: 83.69 kB / 0.5582 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.1449, allocations: 119.5 kB / 0.5583 GB, free: 2.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1452, allocations: 79.67 kB / 0.5584 GB, free: 2.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.1455, allocations: 99.75 kB / 0.5585 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.413e-05/0.1455, allocations: 8.219 kB / 0.5585 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1457, allocations: 59.7 kB / 0.5585 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001305/0.1458, allocations: 63.75 kB / 0.5586 GB, free: 2.535 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1458, allocations: 4 kB / 0.5586 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1459, allocations: 31.98 kB / 0.5586 GB, free: 2.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.763e-05/0.146, allocations: 19.92 kB / 0.5586 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.875e-05/0.1461, allocations: 31.75 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.1463, allocations: 115.4 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1463, allocations: 7.875 kB / 0.5588 GB, free: 2.328 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1463, allocations: 4 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1463, allocations: 0 / 0.5588 GB, free: 2.324 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006302/0.147, allocations: 422.7 kB / 0.5592 GB, free: 1.863 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.147, allocations: 8.031 kB / 0.5592 GB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.491e-05/0.147, allocations: 30.75 kB / 0.5592 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.1471, allocations: 16.84 kB / 0.5592 GB, free: 1.801 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.1474, allocations: 220.1 kB / 0.5595 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1474, allocations: 384 / 0.5595 GB, free: 1.547 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.1475, allocations: 11.94 kB / 0.5595 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.1476, allocations: 49.61 kB / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.1476, allocations: 0 / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1476, allocations: 0 / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1476, allocations: 0 / 0.5595 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.1477, allocations: 15.98 kB / 0.5595 GB, free: 1.465 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.1479, allocations: 185.7 kB / 0.5597 GB, free: 1.234 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.1481, allocations: 58.55 kB / 0.5598 GB, free: 1.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.797e-05/0.1482, allocations: 20.84 kB / 0.5598 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1482, allocations: 3.938 kB / 0.5598 GB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.1483, allocations: 63.39 kB / 0.5598 GB, free: 1.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1483, allocations: 0 / 0.5598 GB, free: 1.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002978/0.1486, allocations: 97.58 kB / 0.5599 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.1487, allocations: 63.34 kB / 0.56 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.1489, allocations: 215.5 kB / 0.5602 GB, free: 0.6641 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.149, allocations: 33.7 kB / 0.5602 GB, free: 0.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.149, allocations: 108.1 kB / 0.5603 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.1491, allocations: 7.953 kB / 0.5603 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.807e-05/0.1491, allocations: 17.72 kB / 0.5604 GB, free: 496 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.1493, allocations: 326.8 kB / 0.5607 GB, free: 160 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.1494, allocations: 23.97 kB / 0.5607 GB, free: 136 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.1494, allocations: 25.7 kB / 0.5607 GB, free: 104 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1495, allocations: 41.72 kB / 0.5608 GB, free: 56 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1495, allocations: 3.938 kB / 0.5608 GB, free: 52 kB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001968/0.1497, allocations: 85.52 kB / 0.5608 GB, free: 15.96 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1498, allocations: 8 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1498, allocations: 0 / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.1498, allocations: 4.031 kB / 0.5609 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.242e-05/0.1499, allocations: 8 kB / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1499, allocations: 4 kB / 0.5609 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.991e-05/0.1499, allocations: 7.938 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1499, allocations: 7.984 kB / 0.5609 GB, free: 15.92 MB / 430.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 (7): * Single equations (assignments): 7 * 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.0001263/0.1501, allocations: 131.9 kB / 0.561 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1501, allocations: 15.84 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.1501, allocations: 20.97 kB / 0.561 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.1501, allocations: 4 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1501, allocations: 4 kB / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1501, allocations: 0 / 0.5611 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.1503, allocations: 189.6 kB / 0.5612 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1503, allocations: 320 / 0.5612 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.372e-05/0.1504, allocations: 4 kB / 0.5612 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1504, allocations: 4 kB / 0.5612 GB, free: 15.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1504, allocations: 4 kB / 0.5612 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1504, allocations: 4 kB / 0.5612 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1504, allocations: 0 / 0.5612 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.1506, allocations: 116.9 kB / 0.5614 GB, free: 15.36 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.1507, allocations: 85.06 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.1507, allocations: 3.984 kB / 0.5614 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.343e-05/0.1508, allocations: 8 kB / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.842e-05/0.1508, allocations: 3.938 kB / 0.5615 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1508, allocations: 4 kB / 0.5615 GB, free: 15.23 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001844/0.151, allocations: 165.2 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.151, allocations: 4 kB / 0.5616 GB, free: 15.07 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.1512, allocations: 19.95 kB / 0.5616 GB, free: 15.05 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.002191/0.1534, allocations: 0.9582 MB / 0.5626 GB, free: 14.22 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.1536, allocations: 35.92 kB / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1536, allocations: 64 / 0.5626 GB, free: 14.19 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.1537, allocations: 23.98 kB / 0.5626 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.154, allocations: 23.73 kB / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002147/0.1561, allocations: 1.573 MB / 0.5642 GB, free: 12.48 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.1565, allocations: 0.7041 MB / 0.5649 GB, free: 11.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.554e-05/0.1565, allocations: 12.55 kB / 0.5649 GB, free: 11.74 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.809e-05/0.1566, allocations: 39.42 kB / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1566, allocations: 0 / 0.5649 GB, free: 11.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02792/0.1845, allocations: 3.295 MB / 0.5681 GB, free: 8.473 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/8.2, allocations: 4.062 kB / 0.5682 GB, free: 8.469 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --stepSize=0.00019972 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.454381841002032]