Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.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.CombiTable1D.Test2,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.CombiTable1D.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.CombiTable1D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009714/0.0009712, allocations: 180.9 kB / 8.006 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.619/1.619, 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.0008871/0.000887, allocations: 82.62 kB / 261.7 MB, free: 1.68 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.2151/0.2151, allocations: 43.49 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.842e-05/1.856e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5569, allocations: 85.7 MB / 0.5496 GB, free: 8.934 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.5571, allocations: 77.98 kB / 0.5497 GB, free: 8.918 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007822/0.5649, allocations: 3.509 MB / 0.5531 GB, free: 6.137 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.565, allocations: 0 / 0.5531 GB, free: 6.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.255e-06/0.565, allocations: 0 / 0.5531 GB, free: 6.137 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.0002179/0.5652, allocations: 369.5 kB / 0.5535 GB, free: 5.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.622e-05/0.5652, allocations: 12.03 kB / 0.5535 GB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.73e-05/0.5653, allocations: 7.844 kB / 0.5535 GB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.5654, allocations: 201.7 kB / 0.5537 GB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.261e-06/0.5655, allocations: 0 / 0.5537 GB, free: 5.488 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.5655, allocations: 4 kB / 0.5537 GB, free: 5.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.256e-05/0.5655, allocations: 11.5 kB / 0.5537 GB, free: 5.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.65e-05/0.5656, allocations: 45.12 kB / 0.5537 GB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.5656, allocations: 0 / 0.5537 GB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.559e-06/0.5656, allocations: 0 / 0.5537 GB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.264e-06/0.5656, allocations: 0 / 0.5537 GB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.5658, allocations: 266.7 kB / 0.554 GB, free: 5.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.566, allocations: 44.42 kB / 0.554 GB, free: 5.098 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.128e-05/0.566, allocations: 8.859 kB / 0.554 GB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.566, allocations: 0 / 0.554 GB, free: 5.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.507e-05/0.566, allocations: 33.88 kB / 0.5541 GB, free: 5.047 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.566, allocations: 0 / 0.5541 GB, free: 5.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003299/0.5664, allocations: 110.3 kB / 0.5542 GB, free: 4.949 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.5664, allocations: 51.41 kB / 0.5542 GB, free: 4.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.389e-05/0.5665, allocations: 126.6 kB / 0.5544 GB, free: 4.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.5665, allocations: 25.7 kB / 0.5544 GB, free: 4.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.055e-05/0.5666, allocations: 97.94 kB / 0.5545 GB, free: 4.641 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.5666, allocations: 19.66 kB / 0.5545 GB, free: 4.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-06/0.5666, allocations: 0 / 0.5545 GB, free: 4.621 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.5667, allocations: 325.5 kB / 0.5548 GB, free: 4.297 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/0.5667, allocations: 14.5 kB / 0.5548 GB, free: 4.289 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.747e-05/0.5667, allocations: 7.375 kB / 0.5548 GB, free: 4.285 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.448e-05/0.5667, allocations: 15.17 kB / 0.5548 GB, free: 4.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.5668, allocations: 0 / 0.5548 GB, free: 4.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.595e-05/0.5668, allocations: 67.69 kB / 0.5549 GB, free: 4.211 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.5669, allocations: 4 kB / 0.5549 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.5669, allocations: 0 / 0.5549 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.5669, allocations: 0 / 0.5549 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.362e-05/0.567, allocations: 19.98 kB / 0.5549 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.567, allocations: 0 / 0.5549 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.567, allocations: 4 kB / 0.5549 GB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.567, allocations: 4 kB / 0.5549 GB, free: 4.18 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.194e-05/0.5671, allocations: 105.1 kB / 0.555 GB, free: 4.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.5671, allocations: 7.906 kB / 0.555 GB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001241/0.5673, allocations: 79.55 kB / 0.5551 GB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5673, allocations: 8 kB / 0.5551 GB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5673, allocations: 0 / 0.5551 GB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5673, allocations: 0 / 0.5551 GB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.5675, allocations: 306 kB / 0.5554 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.5675, allocations: 11.98 kB / 0.5554 GB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.715e-05/0.5676, allocations: 12 kB / 0.5554 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.5676, allocations: 0 / 0.5554 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.5676, allocations: 0 / 0.5554 GB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5676, allocations: 3.938 kB / 0.5554 GB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5676, allocations: 4 kB / 0.5554 GB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.5677, allocations: 167 kB / 0.5556 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.5678, allocations: 84.67 kB / 0.5557 GB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.256e-05/0.5678, allocations: 0 / 0.5557 GB, free: 3.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.717e-05/0.5679, allocations: 11.98 kB / 0.5557 GB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.104e-05/0.5679, allocations: 4 kB / 0.5557 GB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.5679, allocations: 0 / 0.5557 GB, free: 3.355 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.305e-05/0.568, allocations: 108.5 kB / 0.5558 GB, free: 3.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.568, allocations: 0 / 0.5558 GB, free: 3.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002159/0.5682, allocations: 27.31 kB / 0.5558 GB, free: 3.234 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.0006498/0.5689, allocations: 344.4 kB / 0.5562 GB, free: 2.945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.511e-05/0.569, allocations: 31.36 kB / 0.5562 GB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.569, allocations: 0 / 0.5562 GB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.659e-05/0.569, allocations: 18.75 kB / 0.5562 GB, free: 2.91 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.5692, allocations: 15.94 kB / 0.5562 GB, free: 2.895 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.5694, allocations: 108.5 kB / 0.5563 GB, free: 2.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001781/0.5696, allocations: 0.704 MB / 0.557 GB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.631e-05/0.5697, allocations: 20.16 kB / 0.557 GB, free: 2.023 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.5697, allocations: 11.44 kB / 0.557 GB, free: 2.012 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5697, allocations: 0 / 0.557 GB, free: 2.012 MB / 362.7 MB Notification: Performance of Templates: time 0.002652/0.5724, allocations: 1.002 MB / 0.558 GB, free: 1.027 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches