Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.001141, 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.775/1.775, allocations: 205.3 MB / 213.7 MB, free: 1.664 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.0009109/0.000911, allocations: 91.34 kB / 261.7 MB, free: 1.609 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.2409/0.2409, allocations: 43.48 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.088e-05, allocations: 0 / 418.3 MB, free: 28.56 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 58.86 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5/0.638, allocations: 86.47 MB / 0.5504 GB, free: 8.395 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.6384, allocations: 75.08 kB / 0.5504 GB, free: 8.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.6491, allocations: 4.189 MB / 0.5545 GB, free: 4.996 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6492, allocations: 0 / 0.5545 GB, free: 4.996 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.407e-05/0.6492, allocations: 0 / 0.5545 GB, free: 4.996 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004389/0.6497, allocations: 382.6 kB / 0.5549 GB, free: 4.582 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.6497, allocations: 16.03 kB / 0.5549 GB, free: 4.566 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.512e-05/0.6498, allocations: 11.86 kB / 0.5549 GB, free: 4.555 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.6501, allocations: 202.8 kB / 0.5551 GB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.6501, allocations: 0 / 0.5551 GB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.545e-05/0.6501, allocations: 0 / 0.5551 GB, free: 4.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001074/0.6502, allocations: 19.86 kB / 0.5551 GB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.895e-05/0.6503, allocations: 57.36 kB / 0.5552 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.6503, allocations: 0 / 0.5552 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.6504, allocations: 0 / 0.5552 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6504, allocations: 0.6562 kB / 0.5552 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004546/0.6508, allocations: 296.2 kB / 0.5555 GB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.116e-05/0.6509, allocations: 34.39 kB / 0.5555 GB, free: 3.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.651, allocations: 20.75 kB / 0.5555 GB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.651, allocations: 7.938 kB / 0.5555 GB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.6511, allocations: 30.56 kB / 0.5556 GB, free: 3.844 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.6511, allocations: 7.172 kB / 0.5556 GB, free: 3.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005151/0.6516, allocations: 156.1 kB / 0.5557 GB, free: 3.707 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.6516, allocations: 55.34 kB / 0.5558 GB, free: 3.641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.6518, allocations: 164.7 kB / 0.5559 GB, free: 3.488 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.6518, allocations: 25.7 kB / 0.556 GB, free: 3.457 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.564e-05/0.6519, allocations: 99.69 kB / 0.5561 GB, free: 3.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.6519, allocations: 23.64 kB / 0.5561 GB, free: 3.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.6519, allocations: 0 / 0.5561 GB, free: 3.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.652, allocations: 326.6 kB / 0.5564 GB, free: 3.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/0.652, allocations: 15.38 kB / 0.5564 GB, free: 3.012 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.753e-05/0.6521, allocations: 19.69 kB / 0.5564 GB, free: 3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.6521, allocations: 23.86 kB / 0.5564 GB, free: 2.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.6521, allocations: 4 kB / 0.5564 GB, free: 2.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001057/0.6522, allocations: 85.19 kB / 0.5565 GB, free: 2.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6522, allocations: 4 kB / 0.5565 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.6523, allocations: 80 / 0.5565 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.6523, allocations: 4 kB / 0.5565 GB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.6524, allocations: 19.98 kB / 0.5566 GB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.6524, allocations: 11.88 kB / 0.5566 GB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.976e-05/0.6525, allocations: 19.98 kB / 0.5566 GB, free: 2.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.6525, allocations: 0 / 0.5566 GB, free: 2.848 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 (7): * Single equations (assignments): 7 * 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 7.916e-05/0.6526, allocations: 105 kB / 0.5567 GB, free: 2.738 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.6526, allocations: 11.81 kB / 0.5567 GB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000167/0.6528, allocations: 97.03 kB / 0.5568 GB, free: 2.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.6528, allocations: 4 kB / 0.5568 GB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.6528, allocations: 0 / 0.5568 GB, free: 2.645 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.6528, allocations: 3.953 kB / 0.5568 GB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003068/0.6532, allocations: 361.2 kB / 0.5571 GB, free: 2.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6532, allocations: 3.938 kB / 0.5571 GB, free: 2.281 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.727e-05/0.6533, allocations: 23.98 kB / 0.5572 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.6533, allocations: 0 / 0.5572 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.6533, allocations: 0 / 0.5572 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.6533, allocations: 0 / 0.5572 GB, free: 2.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.6533, allocations: 3.953 kB / 0.5572 GB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.6534, allocations: 186.6 kB / 0.5573 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.6535, allocations: 92.81 kB / 0.5574 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.6535, allocations: 0 / 0.5574 GB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.741e-05/0.6536, allocations: 12 kB / 0.5574 GB, free: 1.953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.6537, allocations: 7.938 kB / 0.5575 GB, free: 1.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.6537, allocations: 4 kB / 0.5575 GB, free: 1.941 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.945e-05/0.6538, allocations: 130.7 kB / 0.5576 GB, free: 1.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6538, allocations: 0 / 0.5576 GB, free: 1.828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.654, allocations: 16 kB / 0.5576 GB, free: 1.812 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 (7): * Single equations (assignments): 7 * 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.000774/0.6548, allocations: 339.3 kB / 0.5579 GB, free: 1.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001402/0.6549, allocations: 55.36 kB / 0.558 GB, free: 1.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.655, allocations: 4 kB / 0.558 GB, free: 1.488 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.173e-05/0.655, allocations: 26.44 kB / 0.558 GB, free: 1.473 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.6553, allocations: 15.17 kB / 0.558 GB, free: 1.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.6557, allocations: 153.5 kB / 0.5582 GB, free: 1.309 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.6559, allocations: 0.7116 MB / 0.5589 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.695e-05/0.656, allocations: 32.94 kB / 0.5589 GB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.656, allocations: 11.44 kB / 0.5589 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.656, allocations: 3.938 kB / 0.5589 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of Templates: time 0.003752/0.6598, allocations: 1.193 MB / 0.5601 GB, free: 15.36 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches