Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009239/0.0009239, allocations: 172.3 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.726/1.726, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008027/0.0008029, allocations: 85.09 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3954/0.3954, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.0004062, allocations: 12 kB / 432.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1437, allocations: 58.86 MB / 491.5 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.358/0.5017, allocations: 87.98 MB / 0.5659 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.502, allocations: 83.88 kB / 0.566 GB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0167/0.5188, allocations: 5.963 MB / 0.5718 GB, free: 8.004 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.511e-06/0.5188, allocations: 4 kB / 0.5718 GB, free: 8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.5188, allocations: 3.938 kB / 0.5718 GB, free: 7.996 MB / 394.7 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.0005926/0.5194, allocations: 406.2 kB / 0.5722 GB, free: 7.551 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.5195, allocations: 12.02 kB / 0.5722 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.979e-05/0.5196, allocations: 16.84 kB / 0.5722 GB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.5199, allocations: 208.1 kB / 0.5724 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.5199, allocations: 8.359 kB / 0.5724 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.52, allocations: 384 / 0.5724 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.5202, allocations: 75.83 kB / 0.5725 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.5202, allocations: 192 / 0.5725 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5202, allocations: 3.938 kB / 0.5725 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.5202, allocations: 0 / 0.5725 GB, free: 7.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.5203, allocations: 27.98 kB / 0.5725 GB, free: 7.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004386/0.5208, allocations: 292.8 kB / 0.5728 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.5209, allocations: 62.55 kB / 0.5729 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.856e-05/0.521, allocations: 20.86 kB / 0.5729 GB, free: 6.727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.5211, allocations: 4 kB / 0.5729 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.5212, allocations: 71.38 kB / 0.573 GB, free: 6.641 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.433e-06/0.5212, allocations: 0 / 0.573 GB, free: 6.641 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005963/0.5218, allocations: 165.3 kB / 0.5731 GB, free: 6.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.5219, allocations: 77.11 kB / 0.5732 GB, free: 6.379 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.5221, allocations: 162.6 kB / 0.5733 GB, free: 6.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.5221, allocations: 29.69 kB / 0.5734 GB, free: 6.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.796e-05/0.5222, allocations: 100.1 kB / 0.5735 GB, free: 6.078 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.344e-05/0.5222, allocations: 23.7 kB / 0.5735 GB, free: 6.055 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.5222, allocations: 0 / 0.5735 GB, free: 6.055 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.5224, allocations: 322.8 kB / 0.5738 GB, free: 5.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.5224, allocations: 23.94 kB / 0.5738 GB, free: 5.707 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.5225, allocations: 42.56 kB / 0.5739 GB, free: 5.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.5227, allocations: 70.53 kB / 0.5739 GB, free: 5.582 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.5227, allocations: 4 kB / 0.5739 GB, free: 5.578 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001961/0.5229, allocations: 97.52 kB / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.5229, allocations: 4 kB / 0.574 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5229, allocations: 0 / 0.574 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.5229, allocations: 4 kB / 0.574 GB, free: 5.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.837e-05/0.523, allocations: 15.98 kB / 0.574 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.523, allocations: 0 / 0.574 GB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.5231, allocations: 12.22 kB / 0.5741 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.5231, allocations: 4 kB / 0.5741 GB, free: 5.438 MB / 394.7 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001086/0.5232, allocations: 125.7 kB / 0.5742 GB, free: 5.305 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.5233, allocations: 11.89 kB / 0.5742 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.5235, allocations: 118.3 kB / 0.5743 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.5235, allocations: 0 / 0.5743 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5236, allocations: 384 / 0.5743 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5236, allocations: 3.938 kB / 0.5743 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.5241, allocations: 419.1 kB / 0.5747 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5241, allocations: 4 kB / 0.5747 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.5241, allocations: 8 kB / 0.5747 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.5241, allocations: 4 kB / 0.5747 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5242, allocations: 3.984 kB / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5242, allocations: 0 / 0.5747 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5242, allocations: 3.938 kB / 0.5747 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.5244, allocations: 208.3 kB / 0.5749 GB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.349e-05/0.5245, allocations: 93 kB / 0.575 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.5246, allocations: 4 kB / 0.575 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.202e-05/0.5246, allocations: 4 kB / 0.575 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.5247, allocations: 11.92 kB / 0.575 GB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.5247, allocations: 4 kB / 0.575 GB, free: 4.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001075/0.5248, allocations: 121.5 kB / 0.5752 GB, free: 4.203 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5248, allocations: 4 kB / 0.5752 GB, free: 4.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002947/0.5251, allocations: 36 kB / 0.5752 GB, free: 4.164 MB / 394.7 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001119/0.5262, allocations: 0.5109 MB / 0.5757 GB, free: 3.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.5265, allocations: 67.89 kB / 0.5758 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5265, allocations: 0 / 0.5758 GB, free: 3.688 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.641e-05/0.5265, allocations: 28 kB / 0.5758 GB, free: 3.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.5269, allocations: 23.97 kB / 0.5758 GB, free: 3.637 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004939/0.5274, allocations: 224.2 kB / 0.576 GB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.5277, allocations: 0.6965 MB / 0.5767 GB, free: 2.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.142e-05/0.5278, allocations: 26.03 kB / 0.5767 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.5279, allocations: 15.44 kB / 0.5767 GB, free: 2.633 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5279, allocations: 0 / 0.5767 GB, free: 2.633 MB / 394.7 MB Notification: Performance of Templates: time 0.005047/0.5329, allocations: 1.904 MB / 0.5786 GB, free: 0.7422 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches