Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 104.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2056/0.2056, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002814/0.002814, allocations: 77.44 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1273, allocations: 62.44 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.004139/0.1315, allocations: 1.758 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002171/0.1337, allocations: 1.021 MB / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.1339, allocations: 0 / 482.9 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004289/0.1343, allocations: 95.67 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004778/0.1349, allocations: 119.4 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.1352, allocations: 79.67 kB / 483.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002505/0.1355, allocations: 127.7 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1356, allocations: 16 kB / 483.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.1357, allocations: 55.77 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.1359, allocations: 63.75 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.1359, allocations: 4 kB / 483.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001552/0.1361, allocations: 59.97 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.1361, allocations: 31.84 kB / 483.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.123e-05/0.1362, allocations: 43.69 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.1365, allocations: 135.8 kB / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1365, allocations: 0 / 483.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1365, allocations: 4 kB / 483.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1365, allocations: 0 / 483.7 MB, free: 1.547 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000611/0.1371, allocations: 438.8 kB / 484.2 MB, free: 1.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1372, allocations: 12.03 kB / 484.2 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.1372, allocations: 30.75 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.241e-05/0.1373, allocations: 12.84 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002346/0.1375, allocations: 233.5 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1375, allocations: 4.375 kB / 484.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.1376, allocations: 3.938 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001724/0.1378, allocations: 65.67 kB / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1378, allocations: 0 / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1378, allocations: 0 / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.1378, allocations: 0 / 484.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.136e-05/0.1379, allocations: 23.98 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1384, allocations: 308.6 kB / 484.8 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002621/0.1386, allocations: 66.55 kB / 484.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.888e-05/0.1387, allocations: 20.97 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.1387, allocations: 0 / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000221/0.139, allocations: 67.39 kB / 485 MB, free: 112 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/0.139, allocations: 3.938 kB / 485 MB, free: 108 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008185/0.1398, allocations: 261.5 kB / 485.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1398, allocations: 55.34 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.1401, allocations: 234.2 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.1401, allocations: 29.7 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.1401, allocations: 108.1 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.1402, allocations: 31.55 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-05/0.1402, allocations: 33.72 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1403, allocations: 330.8 kB / 486.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.098e-05/0.1404, allocations: 31.98 kB / 486.1 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.384e-05/0.1405, allocations: 45.7 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001414/0.1407, allocations: 85.58 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1407, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002211/0.1409, allocations: 121.4 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.1409, allocations: 4.031 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1409, allocations: 8 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.141, allocations: 3.984 kB / 486.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.364e-05/0.1411, allocations: 23.88 kB / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1411, allocations: 0 / 486.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.241e-05/0.1411, allocations: 15.98 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1412, allocations: 7.984 kB / 486.4 MB, free: 14.63 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 (13): * Single equations (assignments): 13 * 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.0001086/0.1413, allocations: 125.8 kB / 486.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.1413, allocations: 19.8 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.1414, allocations: 25.41 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.1414, allocations: 3.938 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1414, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1414, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.1419, allocations: 459.8 kB / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1419, allocations: 0 / 487 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-05/0.142, allocations: 19.92 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.142, allocations: 8.062 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.142, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.142, allocations: 0 / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-06/0.142, allocations: 4 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002597/0.1423, allocations: 233 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.501e-05/0.1423, allocations: 92.92 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.1424, allocations: 8 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.385e-05/0.1425, allocations: 0 / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.1425, allocations: 7.984 kB / 487.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.1425, allocations: 12 kB / 487.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.1427, allocations: 172.4 kB / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1427, allocations: 0 / 487.6 MB, free: 13.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002706/0.143, allocations: 28 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001549/0.1445, allocations: 1.173 MB / 488.8 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.1447, allocations: 83.91 kB / 488.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1447, allocations: 4.062 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.595e-05/0.1448, allocations: 39.92 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.1452, allocations: 23.98 kB / 488.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001856/0.1471, allocations: 1.841 MB / 490.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.1473, allocations: 0.7234 MB / 491.5 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.607e-05/0.1474, allocations: 16.64 kB / 491.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.1475, allocations: 43.42 kB / 491.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1475, allocations: 0 / 491.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.168, allocations: 3.873 MB / 495.4 MB, free: 5.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.064/8.232, allocations: 8.047 kB / 495.4 MB, free: 5.617 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches