Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.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.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.3 MB / 213.7 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009858/0.0009858, allocations: 90.62 kB / 261.7 MB, free: 1.613 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.2068/0.2068, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.412e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1276, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.5278, allocations: 85.66 MB / 0.5496 GB, free: 9.016 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/0.528, allocations: 79.59 kB / 0.5497 GB, free: 8.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008952/0.537, allocations: 4.194 MB / 0.5538 GB, free: 5.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5371, allocations: 0 / 0.5538 GB, free: 5.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.5371, allocations: 0 / 0.5538 GB, free: 5.613 MB / 362.7 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.0002829/0.5374, allocations: 393.9 kB / 0.5541 GB, free: 5.191 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5374, allocations: 12.03 kB / 0.5541 GB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.5375, allocations: 15.81 kB / 0.5542 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001947/0.5377, allocations: 210.5 kB / 0.5544 GB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.5377, allocations: 0 / 0.5544 GB, free: 4.926 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.843e-05/0.5377, allocations: 7.938 kB / 0.5544 GB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.354e-05/0.5378, allocations: 23.55 kB / 0.5544 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.906e-05/0.5379, allocations: 45.62 kB / 0.5544 GB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5379, allocations: 0 / 0.5544 GB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.5379, allocations: 0 / 0.5544 GB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5379, allocations: 0 / 0.5544 GB, free: 4.855 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.5382, allocations: 292.8 kB / 0.5547 GB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.419e-05/0.5383, allocations: 42.31 kB / 0.5548 GB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.168e-05/0.5383, allocations: 16.48 kB / 0.5548 GB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.5383, allocations: 0 / 0.5548 GB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.509e-05/0.5384, allocations: 34.56 kB / 0.5548 GB, free: 4.457 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.21e-07/0.5384, allocations: 4 kB / 0.5548 GB, free: 4.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000403/0.5388, allocations: 128.7 kB / 0.5549 GB, free: 4.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.829e-05/0.5388, allocations: 55.41 kB / 0.555 GB, free: 4.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.539, allocations: 203.9 kB / 0.5552 GB, free: 4.094 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.539, allocations: 33.64 kB / 0.5552 GB, free: 4.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.27e-05/0.539, allocations: 103.4 kB / 0.5553 GB, free: 3.965 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.916e-05/0.539, allocations: 27.52 kB / 0.5553 GB, free: 3.941 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.5391, allocations: 4 kB / 0.5553 GB, free: 3.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.5391, allocations: 322.8 kB / 0.5556 GB, free: 3.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.343e-05/0.5391, allocations: 15.69 kB / 0.5557 GB, free: 3.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.014e-05/0.5392, allocations: 15.75 kB / 0.5557 GB, free: 3.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.099e-05/0.5392, allocations: 20.08 kB / 0.5557 GB, free: 3.582 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.5392, allocations: 0 / 0.5557 GB, free: 3.582 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.351e-05/0.5393, allocations: 84.28 kB / 0.5558 GB, free: 3.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5393, allocations: 4 kB / 0.5558 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.5393, allocations: 0 / 0.5558 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.5394, allocations: 4 kB / 0.5558 GB, free: 3.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.99e-05/0.5395, allocations: 19.98 kB / 0.5558 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.459e-06/0.5395, allocations: 0 / 0.5558 GB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.5395, allocations: 11.95 kB / 0.5558 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.5395, allocations: 0 / 0.5558 GB, free: 3.469 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 4.908e-05/0.5396, allocations: 108.9 kB / 0.5559 GB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.5396, allocations: 11.91 kB / 0.5559 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.5398, allocations: 98.72 kB / 0.556 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5398, allocations: 7.938 kB / 0.556 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5398, allocations: 0 / 0.556 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5398, allocations: 0 / 0.556 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.5401, allocations: 366.7 kB / 0.5564 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5401, allocations: 0 / 0.5564 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.722e-05/0.5402, allocations: 20.17 kB / 0.5564 GB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.5402, allocations: 4 kB / 0.5564 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.5402, allocations: 7.438 kB / 0.5564 GB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5402, allocations: 0 / 0.5564 GB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.5402, allocations: 0 / 0.5564 GB, free: 2.859 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.5403, allocations: 189.3 kB / 0.5566 GB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.788e-05/0.5404, allocations: 96.83 kB / 0.5567 GB, free: 2.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.5404, allocations: 4 kB / 0.5567 GB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.952e-05/0.5405, allocations: 11.98 kB / 0.5567 GB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.83e-05/0.5405, allocations: 4 kB / 0.5567 GB, free: 2.543 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.5405, allocations: 0 / 0.5567 GB, free: 2.543 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.43e-05/0.5406, allocations: 168.2 kB / 0.5569 GB, free: 2.406 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5406, allocations: 0 / 0.5569 GB, free: 2.406 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.5409, allocations: 24 kB / 0.5569 GB, free: 2.383 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0006738/0.5416, allocations: 340.1 kB / 0.5572 GB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.5417, allocations: 45.06 kB / 0.5572 GB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5417, allocations: 0 / 0.5572 GB, free: 2.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.118e-05/0.5417, allocations: 23.38 kB / 0.5573 GB, free: 2.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002166/0.5419, allocations: 7.984 kB / 0.5573 GB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.5422, allocations: 193.5 kB / 0.5575 GB, free: 1.855 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.5424, allocations: 0.7188 MB / 0.5582 GB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.939e-05/0.5424, allocations: 16.95 kB / 0.5582 GB, free: 1.098 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.5425, allocations: 15.44 kB / 0.5582 GB, free: 1.082 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5425, allocations: 0 / 0.5582 GB, free: 1.082 MB / 362.7 MB Notification: Performance of Templates: time 0.003118/0.5456, allocations: 1.202 MB / 0.5594 GB, free: 15.9 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches