Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008576/0.0008576, allocations: 183 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.181/1.181, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007864/0.0007864, allocations: 100.6 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.262/0.262, allocations: 44.15 MB / 388.5 MB, free: 38.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.0003336, allocations: 12 kB / 461.1 MB, free: 1.32 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2467, allocations: 61.88 MB / 0.5107 GB, free: 38.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08979/0.3365, allocations: 87.96 MB / 0.5966 GB, free: 7.125 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.3367, allocations: 83.94 kB / 0.5967 GB, free: 7.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008884/0.3456, allocations: 3.761 MB / 0.6004 GB, free: 3.281 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3456, allocations: 0 / 0.6004 GB, free: 3.281 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.3457, allocations: 0 / 0.6004 GB, free: 3.281 MB / 410.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.0003274/0.346, allocations: 395.1 kB / 0.6008 GB, free: 2.844 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.346, allocations: 8.031 kB / 0.6008 GB, free: 2.836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.147e-05/0.3461, allocations: 8.844 kB / 0.6008 GB, free: 2.828 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.3463, allocations: 192.2 kB / 0.6009 GB, free: 2.602 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3463, allocations: 8.375 kB / 0.601 GB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.3463, allocations: 384 / 0.601 GB, free: 2.594 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.3464, allocations: 54.17 kB / 0.601 GB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3464, allocations: 192 / 0.601 GB, free: 2.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.3465, allocations: 7.938 kB / 0.601 GB, free: 2.527 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.196e-06/0.3465, allocations: 4 kB / 0.601 GB, free: 2.523 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.3466, allocations: 23.98 kB / 0.601 GB, free: 2.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.3469, allocations: 277 kB / 0.6013 GB, free: 2.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.347, allocations: 54.44 kB / 0.6014 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.3471, allocations: 16.94 kB / 0.6014 GB, free: 2.098 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.3471, allocations: 4 kB / 0.6014 GB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.3471, allocations: 30.56 kB / 0.6014 GB, free: 2.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3472, allocations: 3.938 kB / 0.6014 GB, free: 2.051 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004673/0.3476, allocations: 161.2 kB / 0.6016 GB, free: 1.887 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.594e-05/0.3477, allocations: 55.41 kB / 0.6016 GB, free: 1.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.3478, allocations: 159.9 kB / 0.6018 GB, free: 1.656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.3478, allocations: 25.7 kB / 0.6018 GB, free: 1.625 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.3479, allocations: 108 kB / 0.6019 GB, free: 1.516 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.3479, allocations: 11.75 kB / 0.6019 GB, free: 1.504 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.624e-06/0.3479, allocations: 0 / 0.6019 GB, free: 1.504 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.832e-05/0.348, allocations: 326.8 kB / 0.6022 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.3481, allocations: 27.92 kB / 0.6022 GB, free: 1.148 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.41e-05/0.3481, allocations: 23.98 kB / 0.6023 GB, free: 1.125 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.3483, allocations: 52.83 kB / 0.6023 GB, free: 1.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3483, allocations: 0 / 0.6023 GB, free: 1.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001616/0.3484, allocations: 93.52 kB / 0.6024 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.3485, allocations: 8 kB / 0.6024 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.3485, allocations: 0 / 0.6024 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.3485, allocations: 0 / 0.6024 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.74e-05/0.3485, allocations: 15.98 kB / 0.6024 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.3486, allocations: 0 / 0.6024 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.3486, allocations: 4 kB / 0.6024 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.3486, allocations: 4 kB / 0.6024 GB, free: 0.9414 MB / 410.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 () * Number of clocked 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 6.906e-05/0.3487, allocations: 126.3 kB / 0.6026 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.3487, allocations: 7.906 kB / 0.6026 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.3489, allocations: 105.9 kB / 0.6027 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3489, allocations: 0 / 0.6027 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.349, allocations: 0 / 0.6027 GB, free: 0.6953 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.349, allocations: 4 kB / 0.6027 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.3493, allocations: 362.8 kB / 0.603 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3493, allocations: 0 / 0.603 GB, free: 288 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.3494, allocations: 19.92 kB / 0.603 GB, free: 268 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3494, allocations: 4.281 kB / 0.603 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.3494, allocations: 4 kB / 0.603 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3494, allocations: 0 / 0.603 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3494, allocations: 0 / 0.603 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.3496, allocations: 191.4 kB / 0.6032 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.3497, allocations: 92.94 kB / 0.6033 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.3497, allocations: 4 kB / 0.6033 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.3498, allocations: 4 kB / 0.6033 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.3498, allocations: 11.92 kB / 0.6033 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.3498, allocations: 0 / 0.6033 GB, free: 15.92 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.483e-05/0.3499, allocations: 126.2 kB / 0.6035 GB, free: 15.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3499, allocations: 0 / 0.6035 GB, free: 15.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.3502, allocations: 16 kB / 0.6035 GB, free: 15.79 MB / 426.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 () * Number of clocked 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.0007581/0.3509, allocations: 417.8 kB / 0.6039 GB, free: 15.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.3511, allocations: 51.97 kB / 0.6039 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3511, allocations: 0 / 0.6039 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.236e-05/0.3512, allocations: 31.98 kB / 0.604 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.3515, allocations: 23.86 kB / 0.604 GB, free: 15.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.3518, allocations: 205.3 kB / 0.6042 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.352, allocations: 0.7004 MB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.3521, allocations: 4 kB / 0.6049 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.3521, allocations: 15.42 kB / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3521, allocations: 0 / 0.6049 GB, free: 14.45 MB / 426.7 MB Notification: Performance of Templates: time 0.002909/0.355, allocations: 1.077 MB / 0.6059 GB, free: 13.38 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches