Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00157/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.31/1.31, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 101.9 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3662/0.3662, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001106/0.001106, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3505, allocations: 62.02 MB / 0.5152 GB, free: 37.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002883/0.3534, allocations: 1.754 MB / 0.5169 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3549, allocations: 1.002 MB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.3549, allocations: 3.938 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.3553, allocations: 59.91 kB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.3555, allocations: 81.23 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.3557, allocations: 98.2 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.3559, allocations: 98.92 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.3559, allocations: 11.97 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.547e-05/0.356, allocations: 46.73 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.166e-05/0.3561, allocations: 34.08 kB / 0.5183 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.3561, allocations: 2.812 kB / 0.5183 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.607e-05/0.3562, allocations: 28.34 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.434e-05/0.3563, allocations: 32.02 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.491e-05/0.3563, allocations: 39.23 kB / 0.5184 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.3565, allocations: 116.7 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3565, allocations: 0 / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3565, allocations: 4 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.3565, allocations: 0 / 0.5185 GB, free: 35.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005473/0.3571, allocations: 437.7 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3571, allocations: 8.562 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.406e-05/0.3572, allocations: 22.41 kB / 0.5189 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.3574, allocations: 219.9 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3574, allocations: 384 / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.3575, allocations: 4.125 kB / 0.5191 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.3576, allocations: 53.33 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3576, allocations: 2.875 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.3576, allocations: 0 / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.3576, allocations: 0 / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.291e-05/0.3577, allocations: 19.77 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.3579, allocations: 196.5 kB / 0.5194 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.358, allocations: 49.88 kB / 0.5194 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.658e-05/0.3581, allocations: 27.53 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3581, allocations: 2.781 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001912/0.3583, allocations: 66.62 kB / 0.5195 GB, free: 34.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.3583, allocations: 3.938 kB / 0.5195 GB, free: 34.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002535/0.3586, allocations: 96.16 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.3586, allocations: 51.41 kB / 0.5197 GB, free: 34.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.3588, allocations: 276 kB / 0.5199 GB, free: 34.26 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3588, allocations: 25.7 kB / 0.52 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3589, allocations: 115.1 kB / 0.5201 GB, free: 34.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.3589, allocations: 10.66 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.642e-05/0.359, allocations: 19.59 kB / 0.5201 GB, free: 34.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.3591, allocations: 328.3 kB / 0.5204 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.841e-05/0.3591, allocations: 15.89 kB / 0.5204 GB, free: 33.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.177e-05/0.3592, allocations: 34.5 kB / 0.5205 GB, free: 33.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.494e-05/0.3593, allocations: 42.36 kB / 0.5205 GB, free: 33.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.3593, allocations: 2.969 kB / 0.5205 GB, free: 33.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000133/0.3594, allocations: 88.81 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3594, allocations: 5.812 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3594, allocations: 0 / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3595, allocations: 2.906 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-05/0.3596, allocations: 12.75 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.3596, allocations: 4.031 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.3596, allocations: 2.875 kB / 0.5206 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.3596, allocations: 11 kB / 0.5206 GB, free: 33.65 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 (7): * Single equations (assignments): 7 * 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 9.4e-05/0.3597, allocations: 132 kB / 0.5208 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.3598, allocations: 16.41 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.3598, allocations: 18.25 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3598, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3598, allocations: 2.938 kB / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3598, allocations: 0 / 0.5208 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.36, allocations: 218.1 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.36, allocations: 3.938 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.36, allocations: 2.844 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.36, allocations: 2.969 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.36, allocations: 3.375 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.36, allocations: 0 / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.36, allocations: 0 / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.3604, allocations: 0.7012 MB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.3605, allocations: 93.86 kB / 0.5218 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.3605, allocations: 3.938 kB / 0.5218 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.311e-05/0.3605, allocations: 0 / 0.5218 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3606, allocations: 6.094 kB / 0.5218 GB, free: 32.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.3606, allocations: 6.719 kB / 0.5218 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001476/0.3608, allocations: 203.2 kB / 0.522 GB, free: 32.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3608, allocations: 0 / 0.522 GB, free: 32.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000309/0.3611, allocations: 21.88 kB / 0.522 GB, free: 32.37 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009645/0.362, allocations: 405.4 kB / 0.5224 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001629/0.3622, allocations: 41.3 kB / 0.5225 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3622, allocations: 0 / 0.5225 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.722e-05/0.3623, allocations: 18.86 kB / 0.5225 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.3626, allocations: 27.14 kB / 0.5225 GB, free: 32.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004552/0.363, allocations: 400.1 kB / 0.5229 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/0.3632, allocations: 0.7232 MB / 0.5236 GB, free: 31.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.521e-05/0.3632, allocations: 16.66 kB / 0.5236 GB, free: 31.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.3633, allocations: 16.36 kB / 0.5236 GB, free: 31.12 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3633, allocations: 3.938 kB / 0.5236 GB, free: 31.12 MB / 378.7 MB Notification: Performance of Templates: time 0.003951/0.3672, allocations: 1.511 MB / 0.5251 GB, free: 30.93 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches