Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001696/0.001696, allocations: 118.1 kB / 18.5 MB, free: 4.582 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.002009/0.002009, allocations: 189.2 kB / 21.44 MB, free: 1.645 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.576/1.576, allocations: 225.6 MB / 249.8 MB, free: 3.641 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.2462/0.2462, allocations: 44.91 MB / 349.6 MB, free: 1.762 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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 69.83 kB / 491.9 MB, free: 29.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1306, allocations: 64.27 MB / 0.5431 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.00369/0.1343, allocations: 1.89 MB / 0.545 GB, free: 2.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.136, allocations: 0.9937 MB / 0.5459 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.561e-05/0.1361, allocations: 3.938 kB / 0.5459 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.1366, allocations: 259.3 kB / 0.5462 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003773/0.137, allocations: 183.4 kB / 0.5463 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.1375, allocations: 179.1 kB / 0.5465 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.1378, allocations: 259.3 kB / 0.5468 GB, free: 284 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1379, allocations: 21.89 kB / 0.5468 GB, free: 260 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.1381, allocations: 135.5 kB / 0.5469 GB, free: 124 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002511/0.1384, allocations: 207.4 kB / 0.5471 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.1384, allocations: 8 kB / 0.5471 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.1385, allocations: 59.98 kB / 0.5472 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.1386, allocations: 67.69 kB / 0.5472 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.585e-05/0.1387, allocations: 87.3 kB / 0.5473 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.1391, allocations: 242.9 kB / 0.5476 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.1391, allocations: 4 kB / 0.5476 GB, free: 15.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1391, allocations: 4 kB / 0.5476 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.1391, allocations: 0 / 0.5476 GB, free: 15.45 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008043/0.1399, allocations: 0.5833 MB / 0.5481 GB, free: 14.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1399, allocations: 8.031 kB / 0.5481 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.14, allocations: 42.73 kB / 0.5482 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.188e-05/0.14, allocations: 28.75 kB / 0.5482 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004483/0.1405, allocations: 288.3 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1405, allocations: 8.312 kB / 0.5485 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1405, allocations: 15.94 kB / 0.5485 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1408, allocations: 109.6 kB / 0.5486 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.1408, allocations: 0 / 0.5486 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.1408, allocations: 0 / 0.5486 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1408, allocations: 4 kB / 0.5486 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/0.141, allocations: 43.97 kB / 0.5487 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000626/0.1416, allocations: 492.7 kB / 0.5491 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000388/0.142, allocations: 117.2 kB / 0.5492 GB, free: 13.56 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.1421, allocations: 45.77 kB / 0.5493 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.1421, allocations: 7.938 kB / 0.5493 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.1423, allocations: 121 kB / 0.5494 GB, free: 13.36 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/0.1423, allocations: 0 / 0.5494 GB, free: 13.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001328/0.1437, allocations: 0.5125 MB / 0.5499 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.1437, allocations: 77.11 kB / 0.55 GB, free: 12.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.1442, allocations: 485.6 kB / 0.5504 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.1442, allocations: 33.7 kB / 0.5505 GB, free: 12.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.1444, allocations: 160.5 kB / 0.5506 GB, free: 12.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.933e-05/0.1444, allocations: 67.44 kB / 0.5507 GB, free: 12 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.357e-05/0.1445, allocations: 41.7 kB / 0.5507 GB, free: 11.95 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1447, allocations: 358.7 kB / 0.5511 GB, free: 11.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1448, allocations: 55.97 kB / 0.5511 GB, free: 11.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001558/0.145, allocations: 95.22 kB / 0.5512 GB, free: 11.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.1453, allocations: 167.5 kB / 0.5514 GB, free: 11.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1453, allocations: 0 / 0.5514 GB, free: 11.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004175/0.1457, allocations: 237.2 kB / 0.5516 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.1457, allocations: 8 kB / 0.5516 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1457, allocations: 0 / 0.5516 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.1458, allocations: 0 / 0.5516 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.1459, allocations: 47.91 kB / 0.5517 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.1459, allocations: 4 kB / 0.5517 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.196e-05/0.146, allocations: 8 kB / 0.5517 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.146, allocations: 8.062 kB / 0.5517 GB, free: 10.94 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001897/0.1462, allocations: 177.7 kB / 0.5518 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.734e-05/0.1463, allocations: 39.7 kB / 0.5519 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.342e-05/0.1464, allocations: 42.8 kB / 0.5519 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1464, allocations: 4 kB / 0.5519 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1464, allocations: 0 / 0.5519 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1464, allocations: 0 / 0.5519 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.1474, allocations: 0.7352 MB / 0.5526 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1474, allocations: 4.031 kB / 0.5527 GB, free: 9.859 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.389e-05/0.1475, allocations: 39.86 kB / 0.5527 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.1475, allocations: 4 kB / 0.5527 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.1475, allocations: 8 kB / 0.5527 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.543e-06/0.1475, allocations: 4.938 kB / 0.5527 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1475, allocations: 8.062 kB / 0.5527 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005168/0.148, allocations: 427.3 kB / 0.5531 GB, free: 9.352 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.129e-05/0.1481, allocations: 104.9 kB / 0.5532 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.1481, allocations: 11.98 kB / 0.5532 GB, free: 9.219 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.1483, allocations: 8 kB / 0.5532 GB, free: 9.211 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.297e-05/0.1483, allocations: 23.86 kB / 0.5533 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.1484, allocations: 11.98 kB / 0.5533 GB, free: 9.176 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004211/0.1488, allocations: 355.1 kB / 0.5536 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1488, allocations: 0 / 0.5536 GB, free: 8.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003903/0.1492, allocations: 55.92 kB / 0.5537 GB, free: 8.777 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00268/0.1519, allocations: 1.376 MB / 0.555 GB, free: 7.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003782/0.1522, allocations: 149.2 kB / 0.5552 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.1522, allocations: 0 / 0.5552 GB, free: 7.453 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.1524, allocations: 75.84 kB / 0.5552 GB, free: 7.379 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000588/0.153, allocations: 61.77 kB / 0.5553 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003725/0.1567, allocations: 2.955 MB / 0.5582 GB, free: 4.242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.1572, allocations: 0.7781 MB / 0.5589 GB, free: 3.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.1573, allocations: 37.92 kB / 0.559 GB, free: 3.406 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.1574, allocations: 103.4 kB / 0.5591 GB, free: 3.305 MB / 414.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1574, allocations: 0 / 0.5591 GB, free: 3.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.1874, allocations: 6.529 MB / 0.5654 GB, free: 12.81 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.342/8.53, allocations: 14.09 kB / 0.5655 GB, free: 12.8 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.829784417990595]