Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001368/0.001368, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.8 MB / 246.8 MB, free: 11.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2232/0.2232, allocations: 46.19 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002477/0.0002478, allocations: 8 kB / 419.6 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1429, allocations: 63.55 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.001965/0.1449, allocations: 1.442 MB / 484.6 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.1464, allocations: 0.9941 MB / 485.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.565e-05/0.1465, allocations: 4 kB / 485.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.1467, allocations: 55.8 kB / 485.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1469, allocations: 83.72 kB / 485.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.1471, allocations: 59.89 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1473, allocations: 107.6 kB / 485.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.014e-05/0.1473, allocations: 12 kB / 485.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.1474, allocations: 39.78 kB / 486 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.539e-05/0.1475, allocations: 43.78 kB / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.918e-06/0.1475, allocations: 0 / 486 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.838e-05/0.1476, allocations: 43.92 kB / 486.1 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.092e-05/0.1476, allocations: 27.91 kB / 486.1 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.273e-05/0.1477, allocations: 73.36 kB / 486.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001584/0.1479, allocations: 131.8 kB / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1479, allocations: 0 / 486.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1479, allocations: 4 kB / 486.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.645e-06/0.1479, allocations: 0 / 486.3 MB, free: 0.918 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.0004846/0.1484, allocations: 418.9 kB / 486.7 MB, free: 472 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1484, allocations: 12.88 kB / 486.7 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.343e-05/0.1485, allocations: 38.69 kB / 486.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.1485, allocations: 16.75 kB / 486.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.1488, allocations: 213 kB / 487 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1488, allocations: 8.375 kB / 487 MB, free: 132 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.1488, allocations: 3.938 kB / 487 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.149, allocations: 57.67 kB / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.149, allocations: 0 / 487 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.149, allocations: 15.92 kB / 487.1 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.149, allocations: 0 / 487.1 MB, free: 48 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.1491, allocations: 19.92 kB / 487.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003887/0.1495, allocations: 296.8 kB / 487.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.1497, allocations: 58.67 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.377e-05/0.1497, allocations: 24.84 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.1498, allocations: 3.938 kB / 487.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.1499, allocations: 71.33 kB / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.492e-06/0.1499, allocations: 0 / 487.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005376/0.1505, allocations: 177.1 kB / 487.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.1505, allocations: 55.39 kB / 487.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000277/0.1508, allocations: 274.9 kB / 488 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1509, allocations: 33.7 kB / 488.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.1509, allocations: 112 kB / 488.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.345e-05/0.151, allocations: 31.62 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.598e-05/0.151, allocations: 13.72 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1512, allocations: 326.8 kB / 488.5 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.394e-05/0.1512, allocations: 23.98 kB / 488.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.1513, allocations: 37.7 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1514, allocations: 61.72 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1514, allocations: 0 / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.1516, allocations: 105.5 kB / 488.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1516, allocations: 4 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1516, allocations: 0 / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.1517, allocations: 4 kB / 488.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.29e-05/0.1518, allocations: 19.92 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1518, allocations: 4.031 kB / 488.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.776e-05/0.1518, allocations: 7.938 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1518, allocations: 0 / 488.8 MB, free: 14.17 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.000122/0.152, allocations: 136.8 kB / 488.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.152, allocations: 15.81 kB / 488.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.1521, allocations: 25.39 kB / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1521, allocations: 0 / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1521, allocations: 0 / 489 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.1521, allocations: 7.938 kB / 489 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.1525, allocations: 407.3 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1526, allocations: 0.5625 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.1526, allocations: 8 kB / 489.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.1526, allocations: 7.875 kB / 489.4 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1526, allocations: 15.92 kB / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1526, allocations: 0 / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.1526, allocations: 0 / 489.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.1529, allocations: 212.2 kB / 489.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.153, allocations: 92.92 kB / 489.7 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.153, allocations: 7.922 kB / 489.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.145e-05/0.1531, allocations: 8 kB / 489.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.1531, allocations: 7.984 kB / 489.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1531, allocations: 3.984 kB / 489.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001946/0.1533, allocations: 208.4 kB / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1533, allocations: 0 / 489.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1536, allocations: 24 kB / 490 MB, free: 12.9 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.001628/0.1552, allocations: 1.092 MB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001835/0.1554, allocations: 51.92 kB / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1554, allocations: 0 / 491.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.789e-05/0.1555, allocations: 35.92 kB / 491.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003379/0.1558, allocations: 36.03 kB / 491.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.158, allocations: 1.847 MB / 493 MB, free: 9.883 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1584, allocations: 0.716 MB / 493.7 MB, free: 9.141 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.1584, allocations: 12.89 kB / 493.7 MB, free: 9.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.971e-05/0.1586, allocations: 51.41 kB / 493.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1586, allocations: 0 / 493.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01361/0.1722, allocations: 3.341 MB / 497.1 MB, free: 5.863 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/0.1724, allocations: 229.2 kB / 497.4 MB, free: 5.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/1.932, allocations: 0 / 497.4 MB, free: 5.613 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches