Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002054/0.002054, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.8 MB, free: 3.594 MB / 190.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.248/0.248, allocations: 44.92 MB / 349.6 MB, free: 1.699 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 69.28 kB / 491.9 MB, free: 29.85 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1251, allocations: 64.26 MB / 0.5431 GB, free: 4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003077/0.1282, allocations: 1.707 MB / 0.5448 GB, free: 2.277 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1296, allocations: 0.8963 MB / 0.5456 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.273e-05/0.1296, allocations: 3.938 kB / 0.5456 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002958/0.1299, allocations: 83.75 kB / 0.5457 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.1302, allocations: 79.66 kB / 0.5458 GB, free: 1.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.1304, allocations: 111.6 kB / 0.5459 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001707/0.1306, allocations: 111.7 kB / 0.546 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.424e-05/0.1307, allocations: 4.516 kB / 0.546 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.568e-05/0.1308, allocations: 59.75 kB / 0.5461 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.1309, allocations: 55.83 kB / 0.5461 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1309, allocations: 4 kB / 0.5461 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.776e-05/0.131, allocations: 43.97 kB / 0.5462 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.457e-05/0.1311, allocations: 23.86 kB / 0.5462 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.1311, allocations: 35.73 kB / 0.5462 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.1313, allocations: 119.4 kB / 0.5463 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1313, allocations: 4 kB / 0.5463 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1313, allocations: 0 / 0.5463 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1313, allocations: 4 kB / 0.5463 GB, free: 0.6406 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005411/0.1319, allocations: 418.7 kB / 0.5467 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1319, allocations: 12.03 kB / 0.5468 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.298e-05/0.1319, allocations: 34.75 kB / 0.5468 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.132, allocations: 12.84 kB / 0.5468 GB, free: 120 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1323, allocations: 212.1 kB / 0.547 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.1323, allocations: 8.375 kB / 0.547 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1323, allocations: 11.89 kB / 0.547 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1324, allocations: 53.61 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1324, allocations: 0 / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1325, allocations: 8 kB / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.1325, allocations: 0 / 0.5471 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.116e-05/0.1325, allocations: 15.98 kB / 0.5471 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.1329, allocations: 284.9 kB / 0.5474 GB, free: 15.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.1331, allocations: 58.61 kB / 0.5474 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.847e-05/0.1331, allocations: 20.84 kB / 0.5474 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1331, allocations: 8 kB / 0.5474 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000145/0.1333, allocations: 59.39 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.1333, allocations: 7.938 kB / 0.5475 GB, free: 15.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005101/0.1338, allocations: 185.6 kB / 0.5477 GB, free: 15.08 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.1338, allocations: 55.41 kB / 0.5477 GB, free: 15.01 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002162/0.134, allocations: 208.3 kB / 0.5479 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1341, allocations: 25.7 kB / 0.548 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.85e-05/0.1341, allocations: 108.1 kB / 0.5481 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1342, allocations: 23.8 kB / 0.5481 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.1342, allocations: 21.7 kB / 0.5481 GB, free: 14.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1343, allocations: 330.8 kB / 0.5484 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.878e-05/0.1344, allocations: 19.98 kB / 0.5484 GB, free: 14.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.1345, allocations: 41.64 kB / 0.5485 GB, free: 14.21 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.1346, allocations: 57.78 kB / 0.5485 GB, free: 14.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1346, allocations: 0 / 0.5485 GB, free: 14.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001861/0.1348, allocations: 113.5 kB / 0.5487 GB, free: 14.03 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.1348, allocations: 4 kB / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1348, allocations: 0 / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1348, allocations: 0 / 0.5487 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.1349, allocations: 16 kB / 0.5487 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.1349, allocations: 3.984 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.1349, allocations: 3.938 kB / 0.5487 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.135, allocations: 4 kB / 0.5487 GB, free: 14 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 (10): * Single equations (assignments): 10 * 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.000113/0.1351, allocations: 140.8 kB / 0.5488 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.206e-05/0.1351, allocations: 15.91 kB / 0.5488 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.717e-05/0.1351, allocations: 17.41 kB / 0.5488 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1351, allocations: 0 / 0.5488 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1351, allocations: 3.984 kB / 0.5489 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.1352, allocations: 3.938 kB / 0.5489 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000464/0.1356, allocations: 399.5 kB / 0.5492 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1356, allocations: 0 / 0.5492 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.022e-05/0.1356, allocations: 8 kB / 0.5492 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.1357, allocations: 7.938 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.1357, allocations: 4.031 kB / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1357, allocations: 0 / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1357, allocations: 0 / 0.5493 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002379/0.1359, allocations: 216.2 kB / 0.5495 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.136, allocations: 81.06 kB / 0.5495 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.136, allocations: 12.12 kB / 0.5495 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.552e-05/0.136, allocations: 4 kB / 0.5496 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.815e-05/0.1361, allocations: 11.92 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.1361, allocations: 4 kB / 0.5496 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1362, allocations: 163.5 kB / 0.5497 GB, free: 12.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1362, allocations: 0 / 0.5497 GB, free: 12.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1365, allocations: 19.98 kB / 0.5497 GB, free: 12.8 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.002126/0.1386, allocations: 1.1 MB / 0.5508 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.1388, allocations: 55.97 kB / 0.5509 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1388, allocations: 0 / 0.5509 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.043e-05/0.1389, allocations: 23.94 kB / 0.5509 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1392, allocations: 36.83 kB / 0.5509 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/0.1412, allocations: 1.694 MB / 0.5526 GB, free: 9.977 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1416, allocations: 0.7041 MB / 0.5533 GB, free: 9.246 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.793e-05/0.1417, allocations: 20.48 kB / 0.5533 GB, free: 9.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.804e-05/0.1418, allocations: 35.42 kB / 0.5533 GB, free: 9.191 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1418, allocations: 0 / 0.5533 GB, free: 9.191 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.1666, allocations: 3.508 MB / 0.5567 GB, free: 5.715 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.062/8.229, allocations: 12.05 kB / 0.5568 GB, free: 5.703 MB / 414.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --stepSize=0.0197316 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.2716631940566]