Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009074/0.0009075, 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.511/1.511, 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.0008498/0.0008498, allocations: 86.17 kB / 261.7 MB, free: 1.617 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.2189/0.2189, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.584e-05/1.584e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.1189, allocations: 58.86 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5593, allocations: 85.62 MB / 0.5495 GB, free: 8.961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002264/0.5596, allocations: 75.19 kB / 0.5496 GB, free: 8.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009148/0.5687, allocations: 3.995 MB / 0.5535 GB, free: 5.789 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5688, allocations: 3.938 kB / 0.5535 GB, free: 5.785 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.5688, allocations: 15.94 kB / 0.5535 GB, free: 5.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004297/0.5692, allocations: 385.2 kB / 0.5539 GB, free: 5.355 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.5693, allocations: 8.031 kB / 0.5539 GB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.5694, allocations: 11.81 kB / 0.5539 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.5697, allocations: 205.6 kB / 0.5541 GB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.5697, allocations: 7.984 kB / 0.5541 GB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.093e-05/0.5697, allocations: 0 / 0.5541 GB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.772e-05/0.5698, allocations: 15.31 kB / 0.5541 GB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.691e-05/0.5699, allocations: 49.19 kB / 0.5542 GB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.5699, allocations: 0 / 0.5542 GB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.5699, allocations: 0 / 0.5542 GB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.57, allocations: 0 / 0.5542 GB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.5703, allocations: 268.6 kB / 0.5544 GB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.5705, allocations: 38.38 kB / 0.5545 GB, free: 4.707 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.5705, allocations: 16.11 kB / 0.5545 GB, free: 4.691 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.5705, allocations: 4.656 kB / 0.5545 GB, free: 4.688 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.468e-05/0.5705, allocations: 30.56 kB / 0.5545 GB, free: 4.648 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.5706, allocations: 0 / 0.5545 GB, free: 4.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003877/0.5709, allocations: 111.4 kB / 0.5546 GB, free: 4.551 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.571, allocations: 59.3 kB / 0.5547 GB, free: 4.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/0.5712, allocations: 220.3 kB / 0.5549 GB, free: 4.281 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.5712, allocations: 29.64 kB / 0.5549 GB, free: 4.246 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.5713, allocations: 107.4 kB / 0.555 GB, free: 4.152 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.5713, allocations: 23.53 kB / 0.5551 GB, free: 4.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-06/0.5713, allocations: 0 / 0.5551 GB, free: 4.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.606e-05/0.5714, allocations: 322.3 kB / 0.5554 GB, free: 3.812 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/0.5714, allocations: 7.938 kB / 0.5554 GB, free: 3.809 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/0.5714, allocations: 7.875 kB / 0.5554 GB, free: 3.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.415e-05/0.5715, allocations: 16.02 kB / 0.5554 GB, free: 3.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.5715, allocations: 4 kB / 0.5554 GB, free: 3.789 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.964e-05/0.5716, allocations: 53.48 kB / 0.5555 GB, free: 3.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.5716, allocations: 4 kB / 0.5555 GB, free: 3.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.5716, allocations: 3.984 kB / 0.5555 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5716, allocations: 0 / 0.5555 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.5717, allocations: 15.69 kB / 0.5555 GB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5717, allocations: 3.938 kB / 0.5555 GB, free: 3.711 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.5718, allocations: 15.94 kB / 0.5555 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.5718, allocations: 0 / 0.5555 GB, free: 3.695 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 (5): * Single equations (assignments): 5 * 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 5.432e-05/0.5718, allocations: 105 kB / 0.5556 GB, free: 3.586 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.5719, allocations: 15.81 kB / 0.5556 GB, free: 3.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.572, allocations: 70.92 kB / 0.5557 GB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.572, allocations: 4 kB / 0.5557 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5721, allocations: 0 / 0.5557 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.5721, allocations: 0 / 0.5557 GB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002669/0.5723, allocations: 330.5 kB / 0.556 GB, free: 3.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.5723, allocations: 8.062 kB / 0.556 GB, free: 3.156 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.5724, allocations: 15.98 kB / 0.556 GB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.5724, allocations: 0 / 0.556 GB, free: 3.141 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.5724, allocations: 4 kB / 0.556 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.5724, allocations: 0 / 0.556 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5724, allocations: 0 / 0.556 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.5725, allocations: 162.8 kB / 0.5562 GB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.5726, allocations: 100.9 kB / 0.5563 GB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.5726, allocations: 4 kB / 0.5563 GB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.453e-05/0.5727, allocations: 4 kB / 0.5563 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.554e-05/0.5728, allocations: 15.73 kB / 0.5563 GB, free: 2.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.5728, allocations: 3.938 kB / 0.5563 GB, free: 2.832 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.5729, allocations: 170 kB / 0.5565 GB, free: 2.691 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5729, allocations: 0 / 0.5565 GB, free: 2.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.5731, allocations: 27.64 kB / 0.5565 GB, free: 2.668 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 (5): * Single equations (assignments): 5 * 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.0007401/0.5739, allocations: 338 kB / 0.5568 GB, free: 2.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.958e-05/0.574, allocations: 23.25 kB / 0.5568 GB, free: 2.371 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.574, allocations: 0 / 0.5568 GB, free: 2.371 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.574, allocations: 19.88 kB / 0.5569 GB, free: 2.355 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.5742, allocations: 16.09 kB / 0.5569 GB, free: 2.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.5746, allocations: 179.8 kB / 0.557 GB, free: 2.156 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001711/0.5748, allocations: 0.7117 MB / 0.5577 GB, free: 1.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.088e-05/0.5748, allocations: 8.188 kB / 0.5577 GB, free: 1.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.5748, allocations: 15.44 kB / 0.5578 GB, free: 1.398 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5748, allocations: 0 / 0.5578 GB, free: 1.398 MB / 362.7 MB Notification: Performance of Templates: time 0.003186/0.578, allocations: 1.157 MB / 0.5589 GB, free: 268 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches