Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001474/0.001474, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001546, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.4 MB, free: 9.066 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.1 MB / 343.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 71.86 kB / 417.2 MB, free: 19.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1419, allocations: 62.46 MB / 479.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.005117/0.147, allocations: 1.785 MB / 481.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003639/0.1507, allocations: 1.606 MB / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.1508, allocations: 0 / 483 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003838/0.1512, allocations: 31.84 kB / 483 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.1518, allocations: 91.73 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.1521, allocations: 59.86 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.1524, allocations: 107.6 kB / 483.3 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.1526, allocations: 8 kB / 483.3 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.1527, allocations: 55.77 kB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002164/0.153, allocations: 51.39 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.449e-05/0.153, allocations: 4 kB / 483.4 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.1533, allocations: 99.89 kB / 483.5 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.1534, allocations: 23.91 kB / 483.5 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.555e-05/0.1535, allocations: 35.8 kB / 483.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.1539, allocations: 167.8 kB / 483.7 MB, free: 1.332 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.1539, allocations: 4 kB / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1539, allocations: 0 / 483.7 MB, free: 1.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1539, allocations: 0 / 483.7 MB, free: 1.328 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.0008256/0.1548, allocations: 427 kB / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.1548, allocations: 8.031 kB / 484.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.155, allocations: 34.73 kB / 484.2 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.054e-05/0.1551, allocations: 12.84 kB / 484.2 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003837/0.1555, allocations: 212.4 kB / 484.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.1555, allocations: 8 kB / 484.4 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.1555, allocations: 3.938 kB / 484.4 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.1558, allocations: 71.39 kB / 484.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.1558, allocations: 0 / 484.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1558, allocations: 0 / 484.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.1558, allocations: 0 / 484.5 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.156, allocations: 19.98 kB / 484.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005054/0.1565, allocations: 288.9 kB / 484.8 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002538/0.1568, allocations: 62.62 kB / 484.8 MB, free: 40 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/0.1569, allocations: 20.84 kB / 484.9 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.1569, allocations: 0 / 484.9 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002707/0.1572, allocations: 67.39 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.1572, allocations: 0 / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.000797/0.158, allocations: 177.1 kB / 485.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.1581, allocations: 89.03 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.1583, allocations: 169.5 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.765e-05/0.1584, allocations: 29.7 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.1585, allocations: 96.12 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1586, allocations: 23.66 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/0.1586, allocations: 33.64 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.1589, allocations: 318.8 kB / 485.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.839e-05/0.159, allocations: 16 kB / 485.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1591, allocations: 54.5 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.1593, allocations: 53.7 kB / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1593, allocations: 0 / 486 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000328/0.1596, allocations: 105.5 kB / 486.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1597, allocations: 6.656 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1597, allocations: 0 / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1597, allocations: 8.047 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.1598, allocations: 19.94 kB / 486.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1599, allocations: 3.938 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.953e-05/0.16, allocations: 3.984 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.16, allocations: 4 kB / 486.1 MB, free: 14.68 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.0001298/0.1601, allocations: 121.8 kB / 486.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.1602, allocations: 11.81 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.604e-05/0.1602, allocations: 16.7 kB / 486.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.1603, allocations: 7.938 kB / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1603, allocations: 0 / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1603, allocations: 0 / 486.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007409/0.161, allocations: 395.3 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1611, allocations: 3.938 kB / 486.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.838e-05/0.1611, allocations: 8 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1611, allocations: 0 / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1612, allocations: 8.359 kB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1612, allocations: 4.031 kB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1612, allocations: 4 kB / 486.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.1615, allocations: 204.2 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.1616, allocations: 88.95 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/0.1617, allocations: 4 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1618, allocations: 7.984 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.654e-05/0.1619, allocations: 8 kB / 487 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1619, allocations: 192 / 487 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.1621, allocations: 127.2 kB / 487.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.1621, allocations: 3.938 kB / 487.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005477/0.1627, allocations: 47.98 kB / 487.2 MB, free: 13.52 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.00256/0.1652, allocations: 1.169 MB / 488.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.1655, allocations: 67.89 kB / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.1655, allocations: 0 / 488.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.1656, allocations: 36.05 kB / 488.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.1662, allocations: 25.7 kB / 488.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.1687, allocations: 1.601 MB / 490.1 MB, free: 10.69 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.1691, allocations: 0.7051 MB / 490.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001042/0.1692, allocations: 12.89 kB / 490.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1693, allocations: 43.41 kB / 490.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1693, allocations: 4 kB / 490.8 MB, free: 9.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.1846, allocations: 3.848 MB / 494.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001901/0.1849, allocations: 237.7 kB / 494.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.194, allocations: 64 / 494.9 MB, free: 5.91 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches