Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001317/0.001317, allocations: 114.3 kB / 18.49 MB, free: 4.539 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.001463/0.001463, allocations: 219 kB / 21.46 MB, free: 1.586 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.515/1.515, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2191/0.2191, allocations: 44.91 MB / 355.8 MB, free: 12.35 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 63.91 kB / 0.4886 GB, free: 11.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1305, allocations: 65.42 MB / 0.5525 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.00333/0.1338, allocations: 1.757 MB / 0.5542 GB, free: 8.273 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1356, allocations: 1.033 MB / 0.5553 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.02e-05/0.1357, allocations: 4 kB / 0.5553 GB, free: 7.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.136, allocations: 51.75 kB / 0.5553 GB, free: 7.18 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003502/0.1364, allocations: 107.5 kB / 0.5554 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.1366, allocations: 79.67 kB / 0.5555 GB, free: 6.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.1368, allocations: 123.7 kB / 0.5556 GB, free: 6.875 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.1369, allocations: 24.17 kB / 0.5556 GB, free: 6.852 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.137, allocations: 51.78 kB / 0.5557 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.1371, allocations: 63.69 kB / 0.5557 GB, free: 6.738 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.1371, allocations: 4 kB / 0.5557 GB, free: 6.734 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1373, allocations: 59.98 kB / 0.5558 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.1373, allocations: 31.91 kB / 0.5558 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.21e-05/0.1374, allocations: 43.67 kB / 0.5559 GB, free: 6.602 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.1376, allocations: 151.3 kB / 0.556 GB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1376, allocations: 3.938 kB / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1376, allocations: 0 / 0.556 GB, free: 6.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.1377, allocations: 0 / 0.556 GB, free: 6.449 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.0006501/0.1383, allocations: 438.5 kB / 0.5564 GB, free: 5.973 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1383, allocations: 12.03 kB / 0.5565 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.169e-05/0.1384, allocations: 4.188 kB / 0.5565 GB, free: 5.957 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.46e-05/0.1384, allocations: 34.75 kB / 0.5565 GB, free: 5.914 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.649e-05/0.1384, allocations: 16.84 kB / 0.5565 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.1388, allocations: 228.1 kB / 0.5567 GB, free: 5.637 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.304e-05/0.1388, allocations: 20 kB / 0.5567 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.239e-05/0.1388, allocations: 0 / 0.5567 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.139, allocations: 69.66 kB / 0.5568 GB, free: 5.543 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.139, allocations: 4 kB / 0.5568 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.139, allocations: 4 kB / 0.5568 GB, free: 5.535 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.139, allocations: 7.984 kB / 0.5568 GB, free: 5.527 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.1391, allocations: 43.97 kB / 0.5569 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.1396, allocations: 324.7 kB / 0.5572 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.1399, allocations: 78.52 kB / 0.5572 GB, free: 5.031 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.586e-05/0.1399, allocations: 32.84 kB / 0.5573 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.14, allocations: 4 kB / 0.5573 GB, free: 4.992 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001845/0.1402, allocations: 83.41 kB / 0.5574 GB, free: 4.898 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.1402, allocations: 0 / 0.5574 GB, free: 4.898 MB / 414.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008769/0.141, allocations: 301.1 kB / 0.5576 GB, free: 4.598 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.1411, allocations: 55.41 kB / 0.5577 GB, free: 4.531 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1413, allocations: 198 kB / 0.5579 GB, free: 4.328 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.1413, allocations: 29.7 kB / 0.5579 GB, free: 4.293 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.1414, allocations: 104.4 kB / 0.558 GB, free: 4.188 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.06e-05/0.1414, allocations: 47.78 kB / 0.5581 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.006e-05/0.1415, allocations: 33.7 kB / 0.5581 GB, free: 4.102 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.1417, allocations: 322.8 kB / 0.5584 GB, free: 3.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.925e-05/0.1418, allocations: 39.98 kB / 0.5584 GB, free: 3.738 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.1419, allocations: 59.8 kB / 0.5585 GB, free: 3.676 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.1421, allocations: 101.6 kB / 0.5586 GB, free: 3.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1421, allocations: 0 / 0.5586 GB, free: 3.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00028/0.1424, allocations: 149.6 kB / 0.5587 GB, free: 3.418 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1424, allocations: 4 kB / 0.5587 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.1424, allocations: 0 / 0.5587 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1424, allocations: 7.938 kB / 0.5588 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.1425, allocations: 27.92 kB / 0.5588 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1425, allocations: 4.031 kB / 0.5588 GB, free: 3.375 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.133e-05/0.1426, allocations: 8 kB / 0.5588 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1426, allocations: 7.938 kB / 0.5588 GB, free: 3.359 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 (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.0001115/0.1427, allocations: 128 kB / 0.5589 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.1427, allocations: 15.91 kB / 0.5589 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.1428, allocations: 25.52 kB / 0.559 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1428, allocations: 3.938 kB / 0.559 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1428, allocations: 0.8438 kB / 0.559 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1428, allocations: 0 / 0.559 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006374/0.1434, allocations: 492 kB / 0.5594 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.1434, allocations: 4 kB / 0.5594 GB, free: 2.633 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.1435, allocations: 12 kB / 0.5594 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.1435, allocations: 4 kB / 0.5595 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.1435, allocations: 11.98 kB / 0.5595 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.1435, allocations: 4 kB / 0.5595 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1435, allocations: 0 / 0.5595 GB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.1438, allocations: 264.8 kB / 0.5597 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1439, allocations: 89.02 kB / 0.5598 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/0.1439, allocations: 7.938 kB / 0.5598 GB, free: 2.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.654e-05/0.144, allocations: 4 kB / 0.5598 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.144, allocations: 11.98 kB / 0.5598 GB, free: 2.195 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.925e-05/0.1441, allocations: 11.98 kB / 0.5598 GB, free: 2.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1442, allocations: 148.3 kB / 0.56 GB, free: 2.039 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1442, allocations: 0 / 0.56 GB, free: 2.039 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.1445, allocations: 31.92 kB / 0.56 GB, free: 2.008 MB / 414.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.002491/0.147, allocations: 1.21 MB / 0.5612 GB, free: 0.9805 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.1472, allocations: 91.91 kB / 0.5613 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1472, allocations: 0 / 0.5613 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1473, allocations: 43.92 kB / 0.5613 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1477, allocations: 34.59 kB / 0.5614 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.1499, allocations: 1.864 MB / 0.5632 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1503, allocations: 0.724 MB / 0.5639 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.1504, allocations: 25.41 kB / 0.5639 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.888e-05/0.1505, allocations: 47.36 kB / 0.564 GB, free: 14.02 MB / 430.1 MB Notification: Performance of SimCode: time 6.22e-07/0.1505, allocations: 0 / 0.564 GB, free: 14.02 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.1702, allocations: 4.119 MB / 0.568 GB, free: 9.984 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.61/8.78, allocations: 8 kB / 0.568 GB, free: 9.977 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.962233373022173]