Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 104.1 kB / 17.64 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2133/0.2133, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 67.27 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1345, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003866/0.1385, allocations: 1.66 MB / 471 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1401, allocations: 0.8575 MB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1403, allocations: 0 / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004765/0.1408, allocations: 55.73 kB / 471.9 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003737/0.1412, allocations: 59.77 kB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.1417, allocations: 111.1 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.142, allocations: 87.7 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.713e-05/0.1421, allocations: 7.984 kB / 472.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1422, allocations: 39.84 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1423, allocations: 39.73 kB / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.1424, allocations: 0 / 472.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1425, allocations: 27.98 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.553e-05/0.1426, allocations: 31.91 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.788e-05/0.1426, allocations: 31.75 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1429, allocations: 123.8 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1429, allocations: 0 / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1429, allocations: 4 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.143, allocations: 0 / 472.5 MB, free: 11.13 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007289/0.1437, allocations: 426.7 kB / 472.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1437, allocations: 16.03 kB / 472.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.1438, allocations: 38.73 kB / 473 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.063e-05/0.1439, allocations: 16.75 kB / 473 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.1442, allocations: 216 kB / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1442, allocations: 384 / 473.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.1442, allocations: 3.938 kB / 473.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.1444, allocations: 53.62 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1444, allocations: 0 / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1444, allocations: 3.984 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1444, allocations: 4 kB / 473.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.179e-05/0.1445, allocations: 12 kB / 473.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.1447, allocations: 185.7 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1449, allocations: 58.56 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.505e-05/0.145, allocations: 20.84 kB / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.145, allocations: 0 / 473.5 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1452, allocations: 67.33 kB / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.1452, allocations: 0 / 473.6 MB, free: 9.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000296/0.1455, allocations: 97.48 kB / 473.7 MB, free: 9.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1456, allocations: 55.39 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1458, allocations: 258.9 kB / 474 MB, free: 9.422 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.1459, allocations: 29.7 kB / 474 MB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.1459, allocations: 120.1 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.146, allocations: 11.89 kB / 474.2 MB, free: 9.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.146, allocations: 17.72 kB / 474.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.1462, allocations: 326.8 kB / 474.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.1462, allocations: 15.98 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.868e-05/0.1463, allocations: 29.7 kB / 474.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001032/0.1464, allocations: 45.66 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1464, allocations: 3.938 kB / 474.6 MB, free: 8.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000162/0.1466, allocations: 89.42 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1466, allocations: 4 kB / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1466, allocations: 0 / 474.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1466, allocations: 7.938 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.1467, allocations: 8 kB / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1467, allocations: 320 / 474.7 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.1468, allocations: 15.84 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1468, allocations: 8.031 kB / 474.7 MB, free: 8.66 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001316/0.147, allocations: 137.7 kB / 474.8 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.147, allocations: 11.89 kB / 474.9 MB, free: 8.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.58e-05/0.147, allocations: 17 kB / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.147, allocations: 0 / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1471, allocations: 0 / 474.9 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1471, allocations: 4 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.1472, allocations: 197.6 kB / 475.1 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1473, allocations: 3.984 kB / 475.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.229e-05/0.1473, allocations: 4 kB / 475.1 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1473, allocations: 4 kB / 475.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.1473, allocations: 3.984 kB / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1473, allocations: 0 / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1473, allocations: 0 / 475.1 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.1475, allocations: 116.9 kB / 475.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1476, allocations: 92.86 kB / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.1476, allocations: 0 / 475.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.841e-05/0.1477, allocations: 4 kB / 475.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.1477, allocations: 7.984 kB / 475.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.1477, allocations: 4 kB / 475.3 MB, free: 7.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001708/0.1479, allocations: 196.2 kB / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1479, allocations: 0 / 475.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000224/0.1481, allocations: 20 kB / 475.5 MB, free: 7.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001395/0.1495, allocations: 0.9518 MB / 476.5 MB, free: 6.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.1497, allocations: 47.91 kB / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1497, allocations: 0 / 476.5 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.372e-05/0.1498, allocations: 16 kB / 476.5 MB, free: 6.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.1501, allocations: 27.91 kB / 476.6 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.152, allocations: 1.646 MB / 478.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1523, allocations: 0.7197 MB / 478.9 MB, free: 4.363 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.442e-05/0.1524, allocations: 16.8 kB / 478.9 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.861e-05/0.1524, allocations: 35.42 kB / 479 MB, free: 4.312 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1524, allocations: 0 / 479 MB, free: 4.312 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.1773, allocations: 3.322 MB / 482.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.005, allocations: 7.938 kB / 482.3 MB, free: 1.074 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches