Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 118.7 kB / 18.5 MB, free: 4.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 210.5 kB / 21.46 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2208/0.2208, allocations: 46.9 MB / 357.4 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 83.86 kB / 0.4913 GB, free: 8.453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1396, allocations: 65.99 MB / 0.5558 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003223/0.1428, allocations: 1.74 MB / 0.5575 GB, free: 4.566 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.1447, allocations: 1.03 MB / 0.5585 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.1447, allocations: 4 kB / 0.5585 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003008/0.145, allocations: 43.77 kB / 0.5585 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003231/0.1454, allocations: 91.55 kB / 0.5586 GB, free: 3.395 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1456, allocations: 79.67 kB / 0.5587 GB, free: 3.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.1458, allocations: 103.7 kB / 0.5588 GB, free: 3.215 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.1459, allocations: 19.97 kB / 0.5588 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.146, allocations: 39.8 kB / 0.5588 GB, free: 3.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.995e-05/0.1461, allocations: 27.84 kB / 0.5589 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1461, allocations: 4 kB / 0.5589 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.752e-05/0.1462, allocations: 51.97 kB / 0.5589 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1463, allocations: 27.86 kB / 0.559 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.1463, allocations: 31.75 kB / 0.559 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.1465, allocations: 119.4 kB / 0.5591 GB, free: 2.898 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1465, allocations: 0 / 0.5591 GB, free: 2.898 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1465, allocations: 0 / 0.5591 GB, free: 2.898 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1465, allocations: 0 / 0.5591 GB, free: 2.898 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005861/0.1471, allocations: 422.7 kB / 0.5595 GB, free: 2.438 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.1472, allocations: 12.03 kB / 0.5595 GB, free: 2.426 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.548e-05/0.1472, allocations: 38.75 kB / 0.5595 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1473, allocations: 8.891 kB / 0.5596 GB, free: 2.371 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003183/0.1476, allocations: 212.8 kB / 0.5598 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.1476, allocations: 8.359 kB / 0.5598 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.1476, allocations: 4.375 kB / 0.5598 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.1478, allocations: 57.8 kB / 0.5598 GB, free: 2.051 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.1478, allocations: 4 kB / 0.5598 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1478, allocations: 4 kB / 0.5598 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1478, allocations: 0 / 0.5598 GB, free: 2.043 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.131e-05/0.1479, allocations: 23.98 kB / 0.5599 GB, free: 2.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.1483, allocations: 284.8 kB / 0.5601 GB, free: 1.691 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001683/0.1484, allocations: 50.61 kB / 0.5602 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.061e-05/0.1485, allocations: 16.92 kB / 0.5602 GB, free: 1.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.1485, allocations: 4 kB / 0.5602 GB, free: 1.609 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.1486, allocations: 75.27 kB / 0.5603 GB, free: 1.523 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.1486, allocations: 0 / 0.5603 GB, free: 1.523 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005317/0.1492, allocations: 181.3 kB / 0.5604 GB, free: 1.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.1492, allocations: 59.34 kB / 0.5605 GB, free: 1.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.1494, allocations: 186.4 kB / 0.5607 GB, free: 1.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1495, allocations: 33.7 kB / 0.5607 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.1495, allocations: 104.1 kB / 0.5608 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.218e-05/0.1496, allocations: 27.78 kB / 0.5608 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.1496, allocations: 17.72 kB / 0.5609 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1497, allocations: 334.7 kB / 0.5612 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.1498, allocations: 19.98 kB / 0.5612 GB, free: 0.5273 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-05/0.1499, allocations: 37.7 kB / 0.5612 GB, free: 496 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.15, allocations: 65.72 kB / 0.5613 GB, free: 424 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.15, allocations: 0 / 0.5613 GB, free: 424 kB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.1502, allocations: 101.6 kB / 0.5614 GB, free: 316 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1502, allocations: 8 kB / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1502, allocations: 0 / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.1502, allocations: 0 / 0.5614 GB, free: 308 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.03e-05/0.1503, allocations: 23.92 kB / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1503, allocations: 0 / 0.5614 GB, free: 284 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.461e-05/0.1504, allocations: 4 kB / 0.5614 GB, free: 280 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.1504, allocations: 8.031 kB / 0.5614 GB, free: 272 kB / 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.0001026/0.1505, allocations: 129.8 kB / 0.5616 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.1505, allocations: 15.91 kB / 0.5616 GB, free: 116 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.477e-05/0.1505, allocations: 13.41 kB / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1505, allocations: 384 / 0.5616 GB, free: 96 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1505, allocations: 3.984 kB / 0.5616 GB, free: 92 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1506, allocations: 4 kB / 0.5616 GB, free: 88 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004912/0.151, allocations: 399.3 kB / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.151, allocations: 0 / 0.562 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.1511, allocations: 8 kB / 0.562 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.475e-06/0.1511, allocations: 4 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.1511, allocations: 0 / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1511, allocations: 3.938 kB / 0.562 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1511, allocations: 7.922 kB / 0.562 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.1513, allocations: 212.3 kB / 0.5622 GB, free: 15.39 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.1514, allocations: 85.02 kB / 0.5623 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.446e-05/0.1514, allocations: 4 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.967e-05/0.1515, allocations: 3.938 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.1515, allocations: 11.98 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.1516, allocations: 4 kB / 0.5623 GB, free: 15.26 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001466/0.1517, allocations: 148.2 kB / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1517, allocations: 0 / 0.5624 GB, free: 15.12 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.152, allocations: 23.94 kB / 0.5625 GB, free: 15.09 MB / 430.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.002165/0.1541, allocations: 1.092 MB / 0.5635 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1543, allocations: 59.84 kB / 0.5636 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1543, allocations: 4 kB / 0.5636 GB, free: 14.09 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.079e-05/0.1544, allocations: 23.98 kB / 0.5636 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.1547, allocations: 41.31 kB / 0.5637 GB, free: 14.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.1566, allocations: 1.658 MB / 0.5653 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.157, allocations: 0.7118 MB / 0.566 GB, free: 11.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.37e-05/0.157, allocations: 17.17 kB / 0.566 GB, free: 11.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.1571, allocations: 39.42 kB / 0.566 GB, free: 11.48 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1571, allocations: 0 / 0.566 GB, free: 11.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.1817, allocations: 3.472 MB / 0.5694 GB, free: 8.066 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.041/8.223, allocations: 9.25 kB / 0.5694 GB, free: 8.062 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.28826928557828]