Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 177.2 kB / 8.008 MB, free: 1.066 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.737/1.737, 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.0008462/0.0008462, allocations: 86.62 kB / 261.7 MB, free: 1.613 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.1968/0.1968, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.722e-05/1.724e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1281, allocations: 58.85 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4236/0.5517, allocations: 85.62 MB / 0.5495 GB, free: 8.961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/0.552, allocations: 77.2 kB / 0.5496 GB, free: 8.957 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008414/0.5604, allocations: 3.891 MB / 0.5534 GB, free: 5.855 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.5605, allocations: 4 kB / 0.5534 GB, free: 5.852 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.5605, allocations: 7.688 kB / 0.5534 GB, free: 5.848 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.0002796/0.5608, allocations: 377.9 kB / 0.5538 GB, free: 5.441 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5608, allocations: 12.03 kB / 0.5538 GB, free: 5.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.5609, allocations: 7.906 kB / 0.5538 GB, free: 5.422 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.5611, allocations: 198.1 kB / 0.554 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.5611, allocations: 0 / 0.554 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.5611, allocations: 4 kB / 0.554 GB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.121e-05/0.5611, allocations: 11.94 kB / 0.554 GB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.898e-05/0.5612, allocations: 41.44 kB / 0.5541 GB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.5612, allocations: 0 / 0.5541 GB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.856e-06/0.5612, allocations: 3.984 kB / 0.5541 GB, free: 5.133 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5613, allocations: 4 kB / 0.5541 GB, free: 5.129 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002436/0.5615, allocations: 271 kB / 0.5543 GB, free: 4.848 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.5616, allocations: 34.2 kB / 0.5544 GB, free: 4.809 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.908e-05/0.5617, allocations: 11.98 kB / 0.5544 GB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.5617, allocations: 0 / 0.5544 GB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.363e-05/0.5617, allocations: 38.64 kB / 0.5544 GB, free: 4.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.5617, allocations: 0 / 0.5544 GB, free: 4.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003131/0.562, allocations: 99.7 kB / 0.5545 GB, free: 4.656 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.595e-05/0.5621, allocations: 54.66 kB / 0.5545 GB, free: 4.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.5622, allocations: 192 kB / 0.5547 GB, free: 4.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.5622, allocations: 29.64 kB / 0.5548 GB, free: 4.387 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.242e-05/0.5623, allocations: 97.95 kB / 0.5549 GB, free: 4.301 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.71e-05/0.5623, allocations: 23.61 kB / 0.5549 GB, free: 4.281 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.5623, allocations: 0 / 0.5549 GB, free: 4.281 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.858e-05/0.5623, allocations: 326.5 kB / 0.5552 GB, free: 3.957 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.5624, allocations: 7.562 kB / 0.5552 GB, free: 3.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.341e-05/0.5624, allocations: 7.75 kB / 0.5552 GB, free: 3.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.097e-05/0.5624, allocations: 12.09 kB / 0.5552 GB, free: 3.938 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.5624, allocations: 0 / 0.5552 GB, free: 3.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.676e-05/0.5625, allocations: 60.72 kB / 0.5553 GB, free: 3.879 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.5625, allocations: 8 kB / 0.5553 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.5625, allocations: 0 / 0.5553 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.5625, allocations: 0 / 0.5553 GB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.503e-05/0.5626, allocations: 19.61 kB / 0.5553 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.5626, allocations: 0 / 0.5553 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.082e-05/0.5627, allocations: 4 kB / 0.5553 GB, free: 3.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.5627, allocations: 8 kB / 0.5553 GB, free: 3.844 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 3.9e-05/0.5627, allocations: 104.9 kB / 0.5554 GB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.5628, allocations: 11.81 kB / 0.5554 GB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000113/0.5629, allocations: 71.89 kB / 0.5555 GB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5629, allocations: 4 kB / 0.5555 GB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5629, allocations: 0 / 0.5555 GB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.5629, allocations: 0 / 0.5555 GB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.5632, allocations: 324.1 kB / 0.5558 GB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.5632, allocations: 0 / 0.5558 GB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.5632, allocations: 15.92 kB / 0.5558 GB, free: 3.297 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5632, allocations: 4.375 kB / 0.5558 GB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-06/0.5633, allocations: 0 / 0.5558 GB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5633, allocations: 4 kB / 0.5558 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5633, allocations: 0 / 0.5558 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.933e-05/0.5634, allocations: 163.3 kB / 0.556 GB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.5634, allocations: 93.02 kB / 0.5561 GB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.72e-05/0.5635, allocations: 0 / 0.5561 GB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.5635, allocations: 11.98 kB / 0.5561 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.5636, allocations: 3.5 kB / 0.5561 GB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.5636, allocations: 7.938 kB / 0.5561 GB, free: 2.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.919e-05/0.5637, allocations: 141.9 kB / 0.5562 GB, free: 2.875 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5637, allocations: 0 / 0.5562 GB, free: 2.875 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00022/0.5639, allocations: 22.55 kB / 0.5562 GB, free: 2.855 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.000644/0.5645, allocations: 348.2 kB / 0.5566 GB, free: 2.566 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.376e-05/0.5646, allocations: 29.44 kB / 0.5566 GB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.5646, allocations: 0 / 0.5566 GB, free: 2.547 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.5647, allocations: 11.5 kB / 0.5566 GB, free: 2.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/0.5649, allocations: 19.31 kB / 0.5566 GB, free: 2.523 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002543/0.5651, allocations: 166 kB / 0.5568 GB, free: 2.352 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/0.5653, allocations: 0.7041 MB / 0.5575 GB, free: 1.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.969e-05/0.5653, allocations: 12.17 kB / 0.5575 GB, free: 1.605 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.5653, allocations: 14.75 kB / 0.5575 GB, free: 1.594 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5653, allocations: 0 / 0.5575 GB, free: 1.594 MB / 362.7 MB Notification: Performance of Templates: time 0.002722/0.5681, allocations: 1.087 MB / 0.5586 GB, free: 0.5234 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches