Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, 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.256/1.256, 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.001293/0.001293, allocations: 105.2 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3598/0.3598, allocations: 44.83 MB / 392.7 MB, free: 34.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3575, allocations: 62.01 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002984/0.3605, allocations: 1.787 MB / 0.5169 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.362, allocations: 1.031 MB / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.662e-05/0.3621, allocations: 0 / 0.5179 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.3625, allocations: 42.12 kB / 0.518 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003302/0.3628, allocations: 78.91 kB / 0.518 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.3632, allocations: 95.86 kB / 0.5181 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3633, allocations: 105.5 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.368e-05/0.3635, allocations: 12.92 kB / 0.5182 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.3635, allocations: 36.72 kB / 0.5183 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.3636, allocations: 38.36 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.3636, allocations: 2.969 kB / 0.5183 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.3638, allocations: 40.34 kB / 0.5183 GB, free: 35.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.677e-05/0.3638, allocations: 30.77 kB / 0.5184 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.616e-05/0.3639, allocations: 36.61 kB / 0.5184 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.3641, allocations: 113.4 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.3641, allocations: 0 / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3641, allocations: 0 / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.3641, allocations: 0 / 0.5185 GB, free: 35.52 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.0004794/0.3646, allocations: 427.9 kB / 0.5189 GB, free: 35.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3646, allocations: 8.688 kB / 0.5189 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.254e-05/0.3647, allocations: 10.56 kB / 0.5189 GB, free: 35.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.3649, allocations: 211.6 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.3649, allocations: 11.97 kB / 0.5192 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3649, allocations: 8.062 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.3651, allocations: 56.78 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3651, allocations: 7.219 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3651, allocations: 2.844 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3651, allocations: 0 / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.959e-05/0.3652, allocations: 18.62 kB / 0.5192 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000309/0.3655, allocations: 292.7 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001496/0.3657, allocations: 59.34 kB / 0.5196 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.734e-05/0.3657, allocations: 20.58 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.3658, allocations: 2.906 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.3659, allocations: 69.44 kB / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.366, allocations: 0 / 0.5197 GB, free: 34.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004983/0.3665, allocations: 176.3 kB / 0.5198 GB, free: 34.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/0.3665, allocations: 58.12 kB / 0.5199 GB, free: 34.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.3667, allocations: 203.2 kB / 0.5201 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.227e-05/0.3667, allocations: 28.64 kB / 0.5201 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.3667, allocations: 105.4 kB / 0.5202 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.3668, allocations: 25.77 kB / 0.5202 GB, free: 33.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.3668, allocations: 23.56 kB / 0.5203 GB, free: 33.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.215e-05/0.3669, allocations: 339.3 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.3669, allocations: 16.66 kB / 0.5206 GB, free: 33.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.367, allocations: 38.14 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.596e-05/0.3671, allocations: 59.45 kB / 0.5207 GB, free: 33.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3671, allocations: 0 / 0.5207 GB, free: 33.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001548/0.3673, allocations: 108.1 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3673, allocations: 5.438 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3673, allocations: 160 / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3673, allocations: 0 / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.3674, allocations: 17.41 kB / 0.5208 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3674, allocations: 3.984 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.3675, allocations: 10.84 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.3675, allocations: 6.703 kB / 0.5208 GB, free: 33.48 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.363e-05/0.3676, allocations: 135.6 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.95e-05/0.3676, allocations: 9.5 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.3676, allocations: 18.52 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3676, allocations: 0 / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3676, allocations: 4 kB / 0.521 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3677, allocations: 3.938 kB / 0.521 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003209/0.368, allocations: 393.6 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.368, allocations: 2.938 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.368, allocations: 13.25 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.368, allocations: 3.125 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.3681, allocations: 3.938 kB / 0.5214 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.3681, allocations: 0 / 0.5214 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3681, allocations: 2.938 kB / 0.5214 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003508/0.3684, allocations: 0.7881 MB / 0.5222 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.006e-05/0.3685, allocations: 87.95 kB / 0.5223 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.3685, allocations: 0 / 0.5223 GB, free: 32.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.735e-05/0.3686, allocations: 14.03 kB / 0.5223 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.3686, allocations: 6.781 kB / 0.5223 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3686, allocations: 6.297 kB / 0.5223 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.005e-05/0.3687, allocations: 153 kB / 0.5224 GB, free: 32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3687, allocations: 0 / 0.5224 GB, free: 32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003446/0.3691, allocations: 32.34 kB / 0.5225 GB, free: 31.99 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.000919/0.37, allocations: 466.4 kB / 0.5229 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.3702, allocations: 59.03 kB / 0.523 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3702, allocations: 7.062 kB / 0.523 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.209e-05/0.3703, allocations: 26.02 kB / 0.523 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.3706, allocations: 36.92 kB / 0.523 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004738/0.3711, allocations: 392.9 kB / 0.5234 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.3712, allocations: 0.7065 MB / 0.5241 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.235e-05/0.3713, allocations: 16.81 kB / 0.5241 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.495e-05/0.3713, allocations: 19.16 kB / 0.5241 GB, free: 30.67 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3713, allocations: 0 / 0.5241 GB, free: 30.67 MB / 378.7 MB Notification: Performance of Templates: time 0.004089/0.3754, allocations: 1.7 MB / 0.5258 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches