Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001426/0.001426, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001207/0.001207, allocations: 106.1 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.339/0.339, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2938, allocations: 62.02 MB / 0.5152 GB, free: 37.64 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.00284/0.2966, allocations: 1.792 MB / 0.5169 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.298, allocations: 1.031 MB / 0.5179 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.079e-05/0.298, allocations: 0 / 0.5179 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.2983, allocations: 38.5 kB / 0.518 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.2986, allocations: 68.44 kB / 0.518 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.2988, allocations: 103.5 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.299, allocations: 93.88 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.646e-05/0.2991, allocations: 8.5 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.563e-05/0.2992, allocations: 47.69 kB / 0.5183 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.2992, allocations: 32.19 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.2993, allocations: 2.875 kB / 0.5183 GB, free: 35.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.123e-05/0.2994, allocations: 44.92 kB / 0.5183 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.2994, allocations: 23.25 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.062e-05/0.2995, allocations: 25.59 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.2996, allocations: 110.6 kB / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.2996, allocations: 0 / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2996, allocations: 0 / 0.5185 GB, free: 35.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2997, allocations: 0 / 0.5185 GB, free: 35.41 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004658/0.3001, allocations: 422.6 kB / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.3002, allocations: 8.875 kB / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.3002, allocations: 10.44 kB / 0.5189 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3004, allocations: 217 kB / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.3004, allocations: 384 / 0.5191 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.3005, allocations: 7.062 kB / 0.5191 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.3006, allocations: 55.58 kB / 0.5192 GB, free: 34.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.3006, allocations: 3.984 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.3006, allocations: 2.688 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.3006, allocations: 4 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.764e-05/0.3007, allocations: 22.19 kB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.301, allocations: 295 kB / 0.5195 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.3012, allocations: 51.89 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.934e-05/0.3012, allocations: 24.67 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3013, allocations: 2.625 kB / 0.5196 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001885/0.3014, allocations: 66.7 kB / 0.5196 GB, free: 34.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.3015, allocations: 0 / 0.5196 GB, free: 34.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004777/0.3019, allocations: 171.5 kB / 0.5198 GB, free: 34.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.302, allocations: 55.41 kB / 0.5199 GB, free: 34.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3021, allocations: 186.2 kB / 0.52 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.3021, allocations: 32.98 kB / 0.5201 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.3022, allocations: 99.39 kB / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3022, allocations: 25.91 kB / 0.5202 GB, free: 33.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.3023, allocations: 29.73 kB / 0.5202 GB, free: 33.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.429e-05/0.3023, allocations: 325 kB / 0.5205 GB, free: 33.53 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.16e-05/0.3024, allocations: 22.64 kB / 0.5205 GB, free: 33.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.426e-05/0.3024, allocations: 35.75 kB / 0.5206 GB, free: 33.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.742e-05/0.3026, allocations: 63.95 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3026, allocations: 0 / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001527/0.3027, allocations: 100.9 kB / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3027, allocations: 5.656 kB / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3027, allocations: 0 / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3028, allocations: 3.031 kB / 0.5207 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.715e-05/0.3029, allocations: 18.52 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3029, allocations: 4.031 kB / 0.5208 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.3029, allocations: 11.09 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.3029, allocations: 2.812 kB / 0.5208 GB, free: 33.38 MB / 378.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 7.257e-05/0.303, allocations: 127.5 kB / 0.5209 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.303, allocations: 9.656 kB / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.761e-05/0.3031, allocations: 15.33 kB / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3031, allocations: 2.812 kB / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3031, allocations: 0 / 0.5209 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3031, allocations: 3.938 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003264/0.3034, allocations: 399.3 kB / 0.5213 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3035, allocations: 384 / 0.5213 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.985e-05/0.3035, allocations: 8.719 kB / 0.5213 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3035, allocations: 0 / 0.5213 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.3035, allocations: 17.92 kB / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.3035, allocations: 0 / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3035, allocations: 2.969 kB / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.3039, allocations: 0.7781 MB / 0.5221 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.3039, allocations: 90.98 kB / 0.5222 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.304, allocations: 2.625 kB / 0.5222 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.448e-05/0.304, allocations: 0 / 0.5222 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.3041, allocations: 9.141 kB / 0.5222 GB, free: 32.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.3041, allocations: 6.969 kB / 0.5222 GB, free: 32.01 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.424e-05/0.3042, allocations: 142.5 kB / 0.5223 GB, free: 31.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3042, allocations: 3.938 kB / 0.5223 GB, free: 31.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000352/0.3045, allocations: 24.56 kB / 0.5224 GB, free: 31.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009011/0.3055, allocations: 459.9 kB / 0.5228 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.3056, allocations: 69.2 kB / 0.5229 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3056, allocations: 0 / 0.5229 GB, free: 31.65 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.918e-05/0.3057, allocations: 24.16 kB / 0.5229 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003112/0.306, allocations: 41.09 kB / 0.5229 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004095/0.3064, allocations: 373.6 kB / 0.5233 GB, free: 31.31 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.3066, allocations: 0.7098 MB / 0.524 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.016e-05/0.3066, allocations: 14.16 kB / 0.524 GB, free: 30.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.047e-05/0.3067, allocations: 15.69 kB / 0.524 GB, free: 30.6 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3067, allocations: 0 / 0.524 GB, free: 30.6 MB / 378.7 MB Notification: Performance of Templates: time 0.003857/0.3105, allocations: 1.685 MB / 0.5257 GB, free: 30.41 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches