Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001558/0.001571, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009613/0.0009613, allocations: 97.92 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3878/0.3878, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3644, allocations: 62.02 MB / 0.5152 GB, free: 37.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002829/0.3673, allocations: 1.656 MB / 0.5168 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.3688, allocations: 1.123 MB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.931e-05/0.3689, allocations: 7.875 kB / 0.5179 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.3692, allocations: 19.7 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002223/0.3694, allocations: 65.12 kB / 0.518 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.3697, allocations: 82.3 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.3698, allocations: 60.67 kB / 0.5181 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.37, allocations: 8.891 kB / 0.5181 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.37, allocations: 30.41 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001534/0.3702, allocations: 35 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.3702, allocations: 3.094 kB / 0.5182 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3703, allocations: 96.55 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.564e-05/0.3704, allocations: 14.95 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.3704, allocations: 22.62 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.3706, allocations: 127.1 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3706, allocations: 0 / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3706, allocations: 0 / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3706, allocations: 2.562 kB / 0.5184 GB, free: 35.62 MB / 378.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.0004207/0.3711, allocations: 393.2 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3711, allocations: 11.22 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.812e-05/0.3712, allocations: 11.69 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.3713, allocations: 202.5 kB / 0.519 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.3714, allocations: 4.312 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.3714, allocations: 3.156 kB / 0.519 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.3715, allocations: 69.47 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3715, allocations: 2.875 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.3716, allocations: 0 / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3716, allocations: 0 / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.101e-05/0.3717, allocations: 23.61 kB / 0.5191 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.372, allocations: 271.5 kB / 0.5194 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.3722, allocations: 46.67 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.301e-05/0.3722, allocations: 17.23 kB / 0.5194 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.3723, allocations: 4 kB / 0.5194 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3723, allocations: 36.84 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.3723, allocations: 0 / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004854/0.3728, allocations: 130.2 kB / 0.5196 GB, free: 34.49 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3728, allocations: 83.3 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.3729, allocations: 143.5 kB / 0.5198 GB, free: 34.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.3729, allocations: 29.7 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.373, allocations: 94.25 kB / 0.5199 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.373, allocations: 18.66 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.013e-05/0.373, allocations: 22.55 kB / 0.52 GB, free: 34.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.072e-05/0.3731, allocations: 324.9 kB / 0.5203 GB, free: 33.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.3732, allocations: 15.75 kB / 0.5203 GB, free: 33.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-05/0.3732, allocations: 38.22 kB / 0.5203 GB, free: 33.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001086/0.3733, allocations: 44.44 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3734, allocations: 0 / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001485/0.3735, allocations: 89.77 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.3735, allocations: 5.625 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3735, allocations: 0 / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.3736, allocations: 0 / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.3736, allocations: 18.86 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.3736, allocations: 0 / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.3737, allocations: 3 kB / 0.5205 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.3737, allocations: 7 kB / 0.5205 GB, free: 33.69 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.3737, allocations: 120.8 kB / 0.5206 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.3738, allocations: 6.781 kB / 0.5206 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002004/0.374, allocations: 88.02 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.374, allocations: 7.281 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.374, allocations: 0 / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.374, allocations: 0 / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.3743, allocations: 355.4 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3743, allocations: 0 / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.3744, allocations: 11.62 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.3744, allocations: 3.938 kB / 0.5211 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.3744, allocations: 2.5 kB / 0.5211 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3744, allocations: 7.938 kB / 0.5211 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3744, allocations: 0 / 0.5211 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.3748, allocations: 0.7484 MB / 0.5218 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.3748, allocations: 90.88 kB / 0.5219 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.3749, allocations: 4 kB / 0.5219 GB, free: 32.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.839e-05/0.3749, allocations: 9.219 kB / 0.5219 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.375, allocations: 3.328 kB / 0.5219 GB, free: 32.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.375, allocations: 2.625 kB / 0.5219 GB, free: 32.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.603e-05/0.375, allocations: 117.6 kB / 0.522 GB, free: 32.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.32e-07/0.3751, allocations: 0 / 0.522 GB, free: 32.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.3754, allocations: 42.23 kB / 0.522 GB, free: 32.22 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009704/0.3764, allocations: 483.1 kB / 0.5225 GB, free: 31.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.3766, allocations: 47.47 kB / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3766, allocations: 0 / 0.5226 GB, free: 31.98 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.3767, allocations: 24.2 kB / 0.5226 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.377, allocations: 31.05 kB / 0.5226 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.3774, allocations: 304.2 kB / 0.5229 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.3776, allocations: 0.6869 MB / 0.5236 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.81e-05/0.3776, allocations: 9.219 kB / 0.5236 GB, free: 30.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.3777, allocations: 16.72 kB / 0.5236 GB, free: 30.97 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3777, allocations: 3.031 kB / 0.5236 GB, free: 30.97 MB / 378.7 MB Notification: Performance of Templates: time 0.003788/0.3815, allocations: 1.73 MB / 0.5253 GB, free: 30.77 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches