Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, 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.001246/0.001246, 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.504/1.504, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2347/0.2347, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 66.7 kB / 417.7 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1417, allocations: 62.44 MB / 480.1 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003542/0.1453, allocations: 1.948 MB / 482.1 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001962/0.1473, allocations: 1.052 MB / 483.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001639/0.1474, allocations: 8 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.1479, allocations: 43.7 kB / 483.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004678/0.1484, allocations: 95.48 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003361/0.1487, allocations: 99.64 kB / 483.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.149, allocations: 135.6 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.1492, allocations: 41.47 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.1493, allocations: 47.8 kB / 483.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1494, allocations: 51.64 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.454e-05/0.1494, allocations: 8 kB / 483.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1496, allocations: 51.92 kB / 483.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.086e-05/0.1496, allocations: 27.91 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.217e-05/0.1497, allocations: 47.67 kB / 483.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.15, allocations: 159.7 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.15, allocations: 0 / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.15, allocations: 8 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.15, allocations: 0 / 483.9 MB, free: 1.371 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006405/0.1507, allocations: 480.5 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1507, allocations: 8.031 kB / 484.4 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.1508, allocations: 42.69 kB / 484.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.096e-05/0.1508, allocations: 16.75 kB / 484.5 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.1511, allocations: 233.5 kB / 484.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.1511, allocations: 8.375 kB / 484.7 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1511, allocations: 11.94 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1514, allocations: 110.8 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1514, allocations: 4 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.1514, allocations: 0 / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1514, allocations: 0 / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1516, allocations: 51.97 kB / 484.9 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006759/0.1523, allocations: 0.5087 MB / 485.4 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.1526, allocations: 90.61 kB / 485.5 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.882e-05/0.1527, allocations: 40.83 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1528, allocations: 3.938 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.153, allocations: 83.38 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.153, allocations: 0 / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004446/0.1535, allocations: 149.3 kB / 485.8 MB, free: 15.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.1536, allocations: 55.41 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.1538, allocations: 198.2 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.1538, allocations: 29.7 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.1539, allocations: 124 kB / 486.1 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.1539, allocations: 27.56 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.154, allocations: 29.7 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1541, allocations: 326.8 kB / 486.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.016e-05/0.1542, allocations: 27.98 kB / 486.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.1543, allocations: 64.27 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.1545, allocations: 96.2 kB / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1545, allocations: 0 / 486.7 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002854/0.1548, allocations: 141.7 kB / 486.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1549, allocations: 4.094 kB / 486.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/0.1549, allocations: 3.938 kB / 486.9 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1549, allocations: 12.06 kB / 486.9 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.155, allocations: 23.92 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.155, allocations: 4 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.275e-05/0.1551, allocations: 7.938 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.1551, allocations: 8 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001122/0.1552, allocations: 124.5 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1553, allocations: 19.75 kB / 487 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.1553, allocations: 21.34 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1553, allocations: 11.94 kB / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1554, allocations: 0 / 487.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.1554, allocations: 3.984 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.1556, allocations: 213.5 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1556, allocations: 0 / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.1557, allocations: 12 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.1557, allocations: 3.984 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.1557, allocations: 3.984 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.1557, allocations: 3.938 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1557, allocations: 0 / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.1561, allocations: 184.8 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1562, allocations: 88.98 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.1562, allocations: 7.984 kB / 487.6 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.433e-05/0.1563, allocations: 7.938 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/0.1563, allocations: 11.98 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.1563, allocations: 0 / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1565, allocations: 148.5 kB / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1565, allocations: 0 / 487.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1567, allocations: 24 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001438/0.1582, allocations: 1.019 MB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1584, allocations: 91.89 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1584, allocations: 0 / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.1585, allocations: 35.92 kB / 488.9 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.0003124/0.1589, allocations: 51.33 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002073/0.1609, allocations: 1.733 MB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1612, allocations: 0.7238 MB / 491.4 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.685e-05/0.1613, allocations: 17.42 kB / 491.4 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.1614, allocations: 43.42 kB / 491.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1614, allocations: 0 / 491.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.1832, allocations: 3.725 MB / 495.2 MB, free: 5.766 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.416, allocations: 12.05 kB / 495.2 MB, free: 5.754 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches