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.001341/0.001341, allocations: 180.2 kB / 16.77 MB, free: 5.023 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.563/1.563, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.0008387/0.0008388, allocations: 85.55 kB / 271.3 MB, free: 8.234 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.3748/0.3748, allocations: 43.58 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003916, allocations: 15.98 kB / 432.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1302, allocations: 58.85 MB / 491.5 MB, free: 10.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3906/0.5209, allocations: 86.47 MB / 0.5644 GB, free: 15.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.5212, allocations: 77.47 kB / 0.5645 GB, free: 15.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01111/0.5324, allocations: 4.22 MB / 0.5686 GB, free: 11.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.207e-06/0.5324, allocations: 0 / 0.5686 GB, free: 11.12 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.5324, allocations: 7.938 kB / 0.5686 GB, free: 11.12 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004889/0.5329, allocations: 415.7 kB / 0.569 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.533, allocations: 12.03 kB / 0.569 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.533, allocations: 24.12 kB / 0.569 GB, free: 10.63 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.5333, allocations: 204 kB / 0.5692 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.5333, allocations: 4.375 kB / 0.5692 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.204e-05/0.5333, allocations: 4.375 kB / 0.5692 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.5335, allocations: 62.23 kB / 0.5693 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.5335, allocations: 4.094 kB / 0.5693 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.5335, allocations: 3.938 kB / 0.5693 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.5336, allocations: 0 / 0.5693 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.5337, allocations: 43.95 kB / 0.5693 GB, free: 10.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.5341, allocations: 312.7 kB / 0.5696 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.5342, allocations: 54.55 kB / 0.5697 GB, free: 9.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.244e-05/0.5343, allocations: 24.97 kB / 0.5697 GB, free: 9.824 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.5343, allocations: 4 kB / 0.5697 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5343, allocations: 34.72 kB / 0.5697 GB, free: 9.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.833e-06/0.5344, allocations: 0 / 0.5697 GB, free: 9.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006341/0.535, allocations: 201.9 kB / 0.5699 GB, free: 9.574 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.535, allocations: 51.48 kB / 0.57 GB, free: 9.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.5353, allocations: 223.3 kB / 0.5702 GB, free: 9.285 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.5353, allocations: 25.7 kB / 0.5702 GB, free: 9.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.5354, allocations: 116.1 kB / 0.5703 GB, free: 9.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.5354, allocations: 27.55 kB / 0.5704 GB, free: 9.109 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.959e-06/0.5354, allocations: 4 kB / 0.5704 GB, free: 9.105 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.5356, allocations: 334.8 kB / 0.5707 GB, free: 8.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.412e-05/0.5357, allocations: 23.98 kB / 0.5707 GB, free: 8.746 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.5357, allocations: 23.98 kB / 0.5707 GB, free: 8.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.5359, allocations: 73.61 kB / 0.5708 GB, free: 8.648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.5359, allocations: 0 / 0.5708 GB, free: 8.648 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002317/0.5361, allocations: 113.7 kB / 0.5709 GB, free: 8.531 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.5362, allocations: 8 kB / 0.5709 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5362, allocations: 0 / 0.5709 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5362, allocations: 3.984 kB / 0.5709 GB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.922e-05/0.5363, allocations: 16 kB / 0.5709 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.5363, allocations: 0 / 0.5709 GB, free: 8.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.703e-05/0.5364, allocations: 7.984 kB / 0.5709 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.5364, allocations: 4 kB / 0.5709 GB, free: 8.492 MB / 394.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 () * Number of clocked 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 9.951e-05/0.5365, allocations: 139 kB / 0.5711 GB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.738e-05/0.5365, allocations: 11.81 kB / 0.5711 GB, free: 8.336 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.5368, allocations: 138.8 kB / 0.5712 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.5368, allocations: 0 / 0.5712 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.5368, allocations: 0 / 0.5712 GB, free: 8.195 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5369, allocations: 4 kB / 0.5712 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005086/0.5374, allocations: 419.1 kB / 0.5716 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.5374, allocations: 0 / 0.5716 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.913e-05/0.5375, allocations: 31.86 kB / 0.5717 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.5375, allocations: 0 / 0.5717 GB, free: 7.695 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.5375, allocations: 4.375 kB / 0.5717 GB, free: 7.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5375, allocations: 3.938 kB / 0.5717 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.5375, allocations: 4 kB / 0.5717 GB, free: 7.684 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.5378, allocations: 211.3 kB / 0.5719 GB, free: 7.461 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.624e-05/0.5379, allocations: 93 kB / 0.572 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.5379, allocations: 0 / 0.572 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.373e-05/0.538, allocations: 11.94 kB / 0.572 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.538, allocations: 7.984 kB / 0.572 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.538, allocations: 4 kB / 0.572 GB, free: 7.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.5382, allocations: 174.4 kB / 0.5721 GB, free: 7.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5382, allocations: 0 / 0.5721 GB, free: 7.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.5384, allocations: 28 kB / 0.5722 GB, free: 7.133 MB / 394.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 () * Number of clocked 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.0009394/0.5394, allocations: 410.7 kB / 0.5726 GB, free: 6.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.5396, allocations: 71.94 kB / 0.5726 GB, free: 6.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5396, allocations: 0 / 0.5726 GB, free: 6.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 9.044e-05/0.5397, allocations: 47.91 kB / 0.5727 GB, free: 6.707 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.54, allocations: 15.44 kB / 0.5727 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005259/0.5405, allocations: 288.7 kB / 0.573 GB, free: 6.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.5409, allocations: 0.7121 MB / 0.5737 GB, free: 5.652 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.025e-05/0.541, allocations: 12.67 kB / 0.5737 GB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.541, allocations: 11.44 kB / 0.5737 GB, free: 5.629 MB / 394.7 MB Notification: Performance of SimCode: time 7.71e-07/0.541, allocations: 0 / 0.5737 GB, free: 5.629 MB / 394.7 MB Notification: Performance of Templates: time 0.003678/0.5447, allocations: 1.274 MB / 0.5749 GB, free: 4.363 MB / 394.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/jenkins1/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