Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.001909/0.001909, allocations: 120.1 kB / 18.49 MB, free: 4.586 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.002188/0.002188, allocations: 215 kB / 21.45 MB, free: 1.641 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.509/1.509, allocations: 230.6 MB / 254.8 MB, free: 15.1 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.2315/0.2315, allocations: 46.91 MB / 357.8 MB, free: 10.41 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.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 71.89 kB / 0.4917 GB, free: 7.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 65.98 MB / 0.5562 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003366/0.1334, allocations: 1.754 MB / 0.5579 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.1352, allocations: 1.04 MB / 0.5589 GB, free: 3.031 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.481e-05/0.1353, allocations: 4 kB / 0.5589 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.1356, allocations: 51.75 kB / 0.5589 GB, free: 2.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.136, allocations: 103.5 kB / 0.559 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1362, allocations: 75.72 kB / 0.5591 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002412/0.1365, allocations: 135.6 kB / 0.5592 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1366, allocations: 15.97 kB / 0.5592 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.1367, allocations: 55.72 kB / 0.5593 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1368, allocations: 55.75 kB / 0.5594 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.925e-05/0.1368, allocations: 4 kB / 0.5594 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.137, allocations: 67.92 kB / 0.5594 GB, free: 2.473 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.137, allocations: 35.89 kB / 0.5595 GB, free: 2.438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.1371, allocations: 39.69 kB / 0.5595 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002825/0.1374, allocations: 147.4 kB / 0.5596 GB, free: 2.254 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1374, allocations: 0 / 0.5596 GB, free: 2.254 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1374, allocations: 0 / 0.5596 GB, free: 2.254 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.1374, allocations: 0 / 0.5596 GB, free: 2.254 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007713/0.1382, allocations: 446.4 kB / 0.5601 GB, free: 1.77 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1382, allocations: 12.03 kB / 0.5601 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.095e-05/0.1382, allocations: 4.188 kB / 0.5601 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.758e-05/0.1383, allocations: 38.75 kB / 0.5601 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.995e-05/0.1384, allocations: 16.78 kB / 0.5601 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004053/0.1388, allocations: 232.1 kB / 0.5604 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.1388, allocations: 16.11 kB / 0.5604 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.1388, allocations: 0 / 0.5604 GB, free: 1.41 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/0.139, allocations: 77.59 kB / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/0.139, allocations: 0 / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.139, allocations: 0 / 0.5604 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.139, allocations: 4 kB / 0.5604 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.1392, allocations: 43.97 kB / 0.5605 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.1397, allocations: 316.9 kB / 0.5608 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/0.14, allocations: 78.48 kB / 0.5609 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.882e-05/0.1401, allocations: 28.84 kB / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.1401, allocations: 0 / 0.5609 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.1403, allocations: 87.31 kB / 0.561 GB, free: 0.707 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.1403, allocations: 0 / 0.561 GB, free: 0.707 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009728/0.1413, allocations: 301.1 kB / 0.5613 GB, free: 416 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.1414, allocations: 59.39 kB / 0.5613 GB, free: 344 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.1416, allocations: 194.1 kB / 0.5615 GB, free: 140 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1417, allocations: 25.7 kB / 0.5615 GB, free: 108 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.557e-05/0.1417, allocations: 112.6 kB / 0.5616 GB, free: 15.99 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.1418, allocations: 51.48 kB / 0.5617 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.1419, allocations: 29.72 kB / 0.5617 GB, free: 15.91 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.142, allocations: 322.8 kB / 0.562 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/0.1421, allocations: 39.97 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.1422, allocations: 57.64 kB / 0.5621 GB, free: 15.48 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1424, allocations: 97.7 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1424, allocations: 0 / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002789/0.1427, allocations: 161 kB / 0.5624 GB, free: 15.22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.356e-05/0.1427, allocations: 9.656 kB / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1427, allocations: 0 / 0.5624 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.1427, allocations: 11.92 kB / 0.5624 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.1428, allocations: 20 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.1428, allocations: 3.938 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.099e-05/0.1429, allocations: 16.02 kB / 0.5624 GB, free: 15.16 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.103e-05/0.1429, allocations: 4 kB / 0.5624 GB, free: 15.16 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 (15): * Single equations (assignments): 15 * 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.0001152/0.143, allocations: 124 kB / 0.5625 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.1431, allocations: 19.89 kB / 0.5626 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.1431, allocations: 21.53 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1431, allocations: 3.938 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1431, allocations: 0 / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.1431, allocations: 4.828 kB / 0.5626 GB, free: 14.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.1438, allocations: 492 kB / 0.5631 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.1438, allocations: 4 kB / 0.5631 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.1438, allocations: 15.98 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.1438, allocations: 4 kB / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1438, allocations: 0 / 0.5631 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1438, allocations: 7.938 kB / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1438, allocations: 0 / 0.5631 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003333/0.1442, allocations: 261.1 kB / 0.5633 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.1442, allocations: 92.95 kB / 0.5634 GB, free: 14.02 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.997e-05/0.1443, allocations: 8 kB / 0.5634 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.1443, allocations: 3.984 kB / 0.5634 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.1444, allocations: 15.98 kB / 0.5635 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.1444, allocations: 8 kB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000147/0.1446, allocations: 152.3 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1446, allocations: 0 / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002992/0.1449, allocations: 31.94 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.002569/0.1474, allocations: 1.206 MB / 0.5648 GB, free: 12.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.1477, allocations: 91.91 kB / 0.5649 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1477, allocations: 0 / 0.5649 GB, free: 12.69 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1478, allocations: 47.91 kB / 0.5649 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003789/0.1482, allocations: 26.8 kB / 0.565 GB, free: 12.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.1505, allocations: 1.868 MB / 0.5668 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1509, allocations: 0.7162 MB / 0.5675 GB, free: 9.898 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.283e-05/0.1509, allocations: 29.41 kB / 0.5675 GB, free: 9.871 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.135e-05/0.151, allocations: 47.41 kB / 0.5676 GB, free: 9.824 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.151, allocations: 0 / 0.5676 GB, free: 9.824 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02019/0.1712, allocations: 4.13 MB / 0.5716 GB, free: 5.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/8.744, allocations: 11.94 kB / 0.5716 GB, free: 5.758 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test76.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.920785599970259]