Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001336/0.001336, allocations: 178.3 kB / 8.005 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.745/1.745, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0008583/0.0008583, allocations: 86.62 kB / 261.7 MB, free: 1.676 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: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.506e-05/1.52e-05, allocations: 0 / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1195, allocations: 58.86 MB / 477.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4516/0.5712, allocations: 85.62 MB / 0.5495 GB, free: 9.012 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.5715, allocations: 70 kB / 0.5496 GB, free: 8.988 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008857/0.5804, allocations: 4.12 MB / 0.5536 GB, free: 5.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.5804, allocations: 0 / 0.5536 GB, free: 5.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.5804, allocations: 7.938 kB / 0.5536 GB, free: 5.648 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.0003209/0.5808, allocations: 385.2 kB / 0.554 GB, free: 5.234 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.5808, allocations: 15.97 kB / 0.554 GB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.5809, allocations: 15.81 kB / 0.554 GB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.5811, allocations: 221 kB / 0.5543 GB, free: 4.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.5811, allocations: 3.938 kB / 0.5543 GB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.5811, allocations: 0 / 0.5543 GB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.309e-05/0.5812, allocations: 15.11 kB / 0.5543 GB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.644e-05/0.5813, allocations: 36.83 kB / 0.5543 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.5813, allocations: 0 / 0.5543 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.5813, allocations: 0 / 0.5543 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5813, allocations: 0 / 0.5543 GB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.5817, allocations: 290 kB / 0.5546 GB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.5818, allocations: 37.94 kB / 0.5546 GB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.341e-05/0.5819, allocations: 8.422 kB / 0.5546 GB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.5819, allocations: 4 kB / 0.5546 GB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.5819, allocations: 30.56 kB / 0.5547 GB, free: 4.508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.5819, allocations: 4 kB / 0.5547 GB, free: 4.504 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000398/0.5823, allocations: 111.7 kB / 0.5548 GB, free: 4.398 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.085e-05/0.5824, allocations: 55.36 kB / 0.5548 GB, free: 4.332 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.5826, allocations: 232.7 kB / 0.555 GB, free: 4.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.5826, allocations: 29.64 kB / 0.5551 GB, free: 4.102 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.5826, allocations: 110 kB / 0.5552 GB, free: 4.008 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.5827, allocations: 18.66 kB / 0.5552 GB, free: 3.992 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5827, allocations: 4 kB / 0.5552 GB, free: 3.988 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.5827, allocations: 329.5 kB / 0.5555 GB, free: 3.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.816e-05/0.5828, allocations: 7.375 kB / 0.5555 GB, free: 3.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.5828, allocations: 7.5 kB / 0.5555 GB, free: 3.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.411e-05/0.5828, allocations: 7.469 kB / 0.5555 GB, free: 3.652 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.5828, allocations: 4 kB / 0.5555 GB, free: 3.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.809e-05/0.5829, allocations: 64.53 kB / 0.5556 GB, free: 3.586 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.5829, allocations: 4 kB / 0.5556 GB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5829, allocations: 0 / 0.5556 GB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.583, allocations: 0 / 0.5556 GB, free: 3.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.583, allocations: 19.98 kB / 0.5556 GB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.5831, allocations: 0 / 0.5556 GB, free: 3.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.5831, allocations: 11.95 kB / 0.5556 GB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.5831, allocations: 0 / 0.5556 GB, free: 3.551 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.226e-05/0.5832, allocations: 105 kB / 0.5557 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.5832, allocations: 15.81 kB / 0.5558 GB, free: 3.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.5834, allocations: 73.44 kB / 0.5558 GB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5834, allocations: 4 kB / 0.5558 GB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5834, allocations: 0 / 0.5558 GB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.5834, allocations: 3.984 kB / 0.5558 GB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.5837, allocations: 343.6 kB / 0.5562 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.5837, allocations: 0 / 0.5562 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.697e-05/0.5838, allocations: 12.38 kB / 0.5562 GB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.5838, allocations: 3.938 kB / 0.5562 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.5838, allocations: 0 / 0.5562 GB, free: 2.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5838, allocations: 11.98 kB / 0.5562 GB, free: 2.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5838, allocations: 3.938 kB / 0.5562 GB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.5839, allocations: 164.3 kB / 0.5563 GB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.584, allocations: 104.3 kB / 0.5564 GB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.584, allocations: 0 / 0.5564 GB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.5841, allocations: 7.984 kB / 0.5565 GB, free: 2.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.5841, allocations: 4 kB / 0.5565 GB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.5841, allocations: 7.938 kB / 0.5565 GB, free: 2.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.5843, allocations: 191.9 kB / 0.5566 GB, free: 2.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5843, allocations: 0 / 0.5566 GB, free: 2.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.5845, allocations: 31.94 kB / 0.5567 GB, free: 2.484 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.0006928/0.5852, allocations: 330.9 kB / 0.557 GB, free: 2.211 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.52e-05/0.5853, allocations: 31.19 kB / 0.557 GB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5853, allocations: 0 / 0.557 GB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.394e-05/0.5853, allocations: 14.19 kB / 0.557 GB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.5856, allocations: 15.67 kB / 0.5571 GB, free: 2.164 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.5859, allocations: 196.2 kB / 0.5572 GB, free: 1.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.5861, allocations: 0.7312 MB / 0.558 GB, free: 1.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.784e-05/0.5862, allocations: 12.17 kB / 0.558 GB, free: 1.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.5862, allocations: 11.44 kB / 0.558 GB, free: 1.191 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5862, allocations: 0 / 0.558 GB, free: 1.191 MB / 362.7 MB Notification: Performance of Templates: time 0.003441/0.5896, allocations: 1.186 MB / 0.5591 GB, free: 24 kB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches