Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test57,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001192/0.001192, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001222/0.001222, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2399/0.2399, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 81.52 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.141, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003736/0.1448, allocations: 1.724 MB / 481.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.1474, allocations: 1.627 MB / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.1476, allocations: 0 / 483.5 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.1479, allocations: 39.77 kB / 483.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.1484, allocations: 107.5 kB / 483.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.1487, allocations: 75.69 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.1489, allocations: 103.7 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.149, allocations: 19.98 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.1492, allocations: 43.8 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.1494, allocations: 47.7 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.1494, allocations: 8 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.1497, allocations: 103.9 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.1498, allocations: 19.91 kB / 484 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.95e-05/0.1498, allocations: 35.69 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.1502, allocations: 171.8 kB / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.1502, allocations: 0 / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1502, allocations: 0 / 484.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.1503, allocations: 4 kB / 484.2 MB, free: 1.027 MB / 350.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.0007044/0.151, allocations: 427 kB / 484.7 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.151, allocations: 12.03 kB / 484.7 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.872e-05/0.1511, allocations: 30.75 kB / 484.7 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.1511, allocations: 8.844 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.1515, allocations: 219.9 kB / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1515, allocations: 0 / 484.9 MB, free: 260 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1515, allocations: 4 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1517, allocations: 75.38 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1518, allocations: 4 kB / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1518, allocations: 0 / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1518, allocations: 0 / 485 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.1519, allocations: 19.98 kB / 485 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.1523, allocations: 288.8 kB / 485.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.1525, allocations: 62.67 kB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.18e-05/0.1525, allocations: 16.86 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.1526, allocations: 3.984 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002274/0.1528, allocations: 75.33 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1528, allocations: 0 / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006164/0.1534, allocations: 169.2 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.1535, allocations: 88.97 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1537, allocations: 162.5 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1537, allocations: 25.7 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.477e-05/0.1538, allocations: 96.14 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.1539, allocations: 27.64 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.1539, allocations: 21.72 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.154, allocations: 322.8 kB / 486.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.1541, allocations: 31.92 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.1542, allocations: 38.56 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1543, allocations: 65.64 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1543, allocations: 0 / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001908/0.1545, allocations: 93.58 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1545, allocations: 14.75 kB / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.1546, allocations: 0 / 486.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1546, allocations: 3.938 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.991e-05/0.1547, allocations: 23.86 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.1547, allocations: 160 / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.566e-05/0.1548, allocations: 8 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.1548, allocations: 4 kB / 486.6 MB, free: 14.38 MB / 366.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.0001181/0.1549, allocations: 113.8 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.496e-05/0.1549, allocations: 19.8 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.376e-05/0.155, allocations: 20.7 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.155, allocations: 3.938 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.155, allocations: 0 / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.155, allocations: 3.984 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004532/0.1555, allocations: 395.3 kB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.1555, allocations: 7.938 kB / 487.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.1556, allocations: 11.98 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1556, allocations: 0 / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.1556, allocations: 4.031 kB / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.1556, allocations: 0 / 487.2 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1556, allocations: 7.938 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.1558, allocations: 196.3 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.1559, allocations: 88.94 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.1559, allocations: 4.375 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.156, allocations: 4 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.1561, allocations: 11.98 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.1561, allocations: 8 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001159/0.1562, allocations: 126.3 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1562, allocations: 0 / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1565, allocations: 51.92 kB / 487.7 MB, free: 13.21 MB / 366.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.00183/0.1584, allocations: 1.183 MB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.1586, allocations: 59.91 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.1586, allocations: 4.062 kB / 488.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.651e-05/0.1587, allocations: 27.94 kB / 489 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.159, allocations: 35.91 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.1608, allocations: 1.573 MB / 490.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1611, allocations: 0.7012 MB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.313e-05/0.1612, allocations: 21.17 kB / 491.3 MB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.1613, allocations: 39.42 kB / 491.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1613, allocations: 0 / 491.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.1865, allocations: 3.928 MB / 495.3 MB, free: 5.77 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.348/7.534, allocations: 11.94 kB / 495.3 MB, free: 5.758 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test57.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches