Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, 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.34/1.34, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 97 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3826/0.3826, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 67.89 kB / 465.5 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.357, allocations: 62.02 MB / 0.5152 GB, free: 37.83 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002529/0.3596, allocations: 1.797 MB / 0.5169 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.3608, allocations: 1.026 MB / 0.5179 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.3609, allocations: 3.938 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.3612, allocations: 32.11 kB / 0.518 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.3614, allocations: 80.53 kB / 0.518 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3616, allocations: 98.48 kB / 0.5181 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3618, allocations: 101 kB / 0.5182 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.3618, allocations: 10.62 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.258e-05/0.3619, allocations: 43.38 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.27e-05/0.362, allocations: 34.09 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.362, allocations: 2.719 kB / 0.5183 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.764e-05/0.3621, allocations: 38.39 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.3621, allocations: 23.44 kB / 0.5184 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.462e-05/0.3622, allocations: 36.39 kB / 0.5184 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3623, allocations: 116.9 kB / 0.5185 GB, free: 35.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3624, allocations: 0 / 0.5185 GB, free: 35.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3624, allocations: 4 kB / 0.5185 GB, free: 35.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.3624, allocations: 0 / 0.5185 GB, free: 35.58 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.0004296/0.3628, allocations: 415.6 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.3628, allocations: 8.344 kB / 0.5189 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.037e-05/0.3629, allocations: 14.34 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.3631, allocations: 211.3 kB / 0.5191 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3631, allocations: 4.312 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3631, allocations: 6.875 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.3633, allocations: 66.56 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.3633, allocations: 0 / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3633, allocations: 3.375 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.3633, allocations: 0 / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.402e-05/0.3634, allocations: 18.98 kB / 0.5192 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.3636, allocations: 295.7 kB / 0.5195 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.3638, allocations: 65.47 kB / 0.5196 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.439e-05/0.3639, allocations: 17.39 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.575e-05/0.3639, allocations: 0 / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.364, allocations: 67.14 kB / 0.5197 GB, free: 34.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.364, allocations: 0 / 0.5197 GB, free: 34.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004481/0.3645, allocations: 175.2 kB / 0.5198 GB, free: 34.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.089e-05/0.3645, allocations: 55.41 kB / 0.5199 GB, free: 34.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.3647, allocations: 188.8 kB / 0.5201 GB, free: 34.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.3647, allocations: 29.7 kB / 0.5201 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.3647, allocations: 101.3 kB / 0.5202 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.3647, allocations: 26 kB / 0.5202 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.3648, allocations: 22.31 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.3648, allocations: 328.5 kB / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.998e-05/0.3649, allocations: 23.41 kB / 0.5206 GB, free: 33.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.333e-05/0.3649, allocations: 39.88 kB / 0.5206 GB, free: 33.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.155e-05/0.365, allocations: 66.2 kB / 0.5207 GB, free: 33.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3651, allocations: 0 / 0.5207 GB, free: 33.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001441/0.3652, allocations: 101 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.3652, allocations: 5.719 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3652, allocations: 0 / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.3652, allocations: 6.719 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.742e-05/0.3653, allocations: 16.5 kB / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3653, allocations: 0 / 0.5208 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.106e-05/0.3654, allocations: 10.53 kB / 0.5208 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3654, allocations: 2.812 kB / 0.5208 GB, free: 33.56 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 6.618e-05/0.3655, allocations: 127.5 kB / 0.5209 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.3655, allocations: 13.31 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.596e-05/0.3655, allocations: 26.77 kB / 0.521 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3655, allocations: 7.938 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3655, allocations: 0 / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3656, allocations: 3.938 kB / 0.521 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.3659, allocations: 396.9 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3659, allocations: 0 / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.3659, allocations: 8.844 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3659, allocations: 0 / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3659, allocations: 10.58 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3659, allocations: 32 / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3659, allocations: 4 kB / 0.5214 GB, free: 33.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.3663, allocations: 0.7767 MB / 0.5221 GB, free: 32.29 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.856e-05/0.3663, allocations: 92.09 kB / 0.5222 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.3663, allocations: 2.875 kB / 0.5222 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.235e-05/0.3664, allocations: 4 kB / 0.5222 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.026e-05/0.3664, allocations: 13.16 kB / 0.5222 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.3665, allocations: 2.688 kB / 0.5222 GB, free: 32.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.159e-05/0.3665, allocations: 151.2 kB / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3665, allocations: 0 / 0.5224 GB, free: 32.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003219/0.3669, allocations: 28.67 kB / 0.5224 GB, free: 32.07 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.0008825/0.3678, allocations: 460.3 kB / 0.5229 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000146/0.3679, allocations: 66.5 kB / 0.5229 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3679, allocations: 0 / 0.5229 GB, free: 31.82 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.002e-05/0.368, allocations: 28.5 kB / 0.5229 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.3683, allocations: 35.02 kB / 0.523 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.3687, allocations: 370.9 kB / 0.5233 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/0.3688, allocations: 0.7086 MB / 0.524 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.761e-05/0.3689, allocations: 19.14 kB / 0.524 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.3689, allocations: 16.78 kB / 0.5241 GB, free: 30.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3689, allocations: 0 / 0.5241 GB, free: 30.77 MB / 378.7 MB Notification: Performance of Templates: time 0.00343/0.3724, allocations: 1.702 MB / 0.5257 GB, free: 30.58 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches