Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009065/0.0009065, allocations: 171.5 kB / 16.76 MB, free: 5.043 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001164, allocations: 93.03 kB / 271.3 MB, free: 8.238 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.4724/0.4724, allocations: 43.55 MB / 363.1 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 20 kB / 432.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1537, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4188/0.5725, allocations: 87.59 MB / 0.5655 GB, free: 14.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5728, allocations: 79.95 kB / 0.5656 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01559/0.5884, allocations: 5.549 MB / 0.571 GB, free: 8.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5885, allocations: 4 kB / 0.571 GB, free: 8.816 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.051e-05/0.5885, allocations: 0 / 0.571 GB, free: 8.816 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007021/0.5892, allocations: 433.8 kB / 0.5714 GB, free: 8.344 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.5893, allocations: 8.031 kB / 0.5714 GB, free: 8.336 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.5894, allocations: 16.75 kB / 0.5714 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.5898, allocations: 237.8 kB / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/0.5898, allocations: 8.359 kB / 0.5717 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.781e-05/0.5899, allocations: 8.359 kB / 0.5717 GB, free: 8.035 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.59, allocations: 50.25 kB / 0.5717 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.59, allocations: 4.172 kB / 0.5717 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.5901, allocations: 3.938 kB / 0.5717 GB, free: 7.973 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.5901, allocations: 4 kB / 0.5717 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.746e-05/0.5902, allocations: 15.98 kB / 0.5718 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002834/0.5905, allocations: 185.7 kB / 0.5719 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.5907, allocations: 62.55 kB / 0.572 GB, free: 7.652 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.186e-05/0.5907, allocations: 20.84 kB / 0.572 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.5908, allocations: 0 / 0.572 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.5909, allocations: 71.3 kB / 0.5721 GB, free: 7.547 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.315e-06/0.5909, allocations: 0 / 0.5721 GB, free: 7.547 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003244/0.5913, allocations: 101.5 kB / 0.5722 GB, free: 7.441 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.5913, allocations: 59.39 kB / 0.5722 GB, free: 7.371 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.5916, allocations: 251.7 kB / 0.5725 GB, free: 7.113 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.5917, allocations: 29.7 kB / 0.5725 GB, free: 7.078 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.5917, allocations: 108.1 kB / 0.5726 GB, free: 6.969 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.083e-05/0.5918, allocations: 11.81 kB / 0.5726 GB, free: 6.957 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.5918, allocations: 3.938 kB / 0.5726 GB, free: 6.953 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5919, allocations: 330.8 kB / 0.5729 GB, free: 6.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.915e-05/0.592, allocations: 12 kB / 0.5729 GB, free: 6.609 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.5921, allocations: 37.69 kB / 0.573 GB, free: 6.566 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.5922, allocations: 53.64 kB / 0.573 GB, free: 6.508 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5922, allocations: 0 / 0.573 GB, free: 6.508 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001885/0.5924, allocations: 85.48 kB / 0.5731 GB, free: 6.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.5924, allocations: 7.938 kB / 0.5731 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.5924, allocations: 0 / 0.5731 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.5925, allocations: 0 / 0.5731 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.048e-05/0.5925, allocations: 20.72 kB / 0.5731 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5926, allocations: 0 / 0.5731 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.5926, allocations: 4 kB / 0.5731 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.5926, allocations: 0 / 0.5731 GB, free: 6.387 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 0.0001323/0.5928, allocations: 135.2 kB / 0.5733 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.181e-05/0.5928, allocations: 23.73 kB / 0.5733 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.593, allocations: 94.67 kB / 0.5734 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.593, allocations: 3.938 kB / 0.5734 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.5931, allocations: 8.312 kB / 0.5734 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.5931, allocations: 3.984 kB / 0.5734 GB, free: 6.113 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.5933, allocations: 209.5 kB / 0.5736 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.5933, allocations: 4 kB / 0.5736 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.5933, allocations: 4 kB / 0.5736 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.5933, allocations: 3.938 kB / 0.5736 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.5933, allocations: 4 kB / 0.5736 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.5933, allocations: 0 / 0.5736 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.5933, allocations: 0 / 0.5736 GB, free: 5.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.5935, allocations: 116.9 kB / 0.5737 GB, free: 5.711 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.5936, allocations: 104.9 kB / 0.5738 GB, free: 5.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.5937, allocations: 3.938 kB / 0.5738 GB, free: 5.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.427e-05/0.5937, allocations: 4 kB / 0.5738 GB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.5938, allocations: 7.969 kB / 0.5738 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/0.5938, allocations: 4 kB / 0.5738 GB, free: 5.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002024/0.594, allocations: 203.2 kB / 0.574 GB, free: 5.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.594, allocations: 0 / 0.574 GB, free: 5.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002436/0.5943, allocations: 31.94 kB / 0.5741 GB, free: 5.34 MB / 394.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001073/0.5953, allocations: 416.5 kB / 0.5745 GB, free: 5.023 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001733/0.5955, allocations: 47.97 kB / 0.5745 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5955, allocations: 0 / 0.5745 GB, free: 4.977 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.236e-05/0.5956, allocations: 19.94 kB / 0.5745 GB, free: 4.957 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.5959, allocations: 29.39 kB / 0.5746 GB, free: 4.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006185/0.5966, allocations: 288.4 kB / 0.5748 GB, free: 4.629 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.5969, allocations: 0.7196 MB / 0.5755 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.545e-05/0.597, allocations: 20.42 kB / 0.5756 GB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.597, allocations: 15.44 kB / 0.5756 GB, free: 3.852 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.597, allocations: 0 / 0.5756 GB, free: 3.852 MB / 394.7 MB Notification: Performance of Templates: time 0.004859/0.6019, allocations: 1.612 MB / 0.5771 GB, free: 2.246 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches