Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, 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.282/1.282, 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.001082/0.001082, allocations: 94.45 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.4022/0.4022, allocations: 44.82 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 67.89 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3404, allocations: 62.01 MB / 0.5152 GB, free: 37.75 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003154/0.3437, allocations: 1.8 MB / 0.5169 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3451, allocations: 1.027 MB / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.3451, allocations: 0 / 0.5179 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000335/0.3455, allocations: 43.38 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.3457, allocations: 75.67 kB / 0.518 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.346, allocations: 94.55 kB / 0.5181 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.3461, allocations: 103.8 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.767e-05/0.3462, allocations: 20.86 kB / 0.5182 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.018e-05/0.3463, allocations: 36.33 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.264e-05/0.3464, allocations: 44.86 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3464, allocations: 0 / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.723e-05/0.3465, allocations: 42.41 kB / 0.5184 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.292e-05/0.3465, allocations: 20.19 kB / 0.5184 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.509e-05/0.3466, allocations: 39.05 kB / 0.5184 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.3468, allocations: 112.6 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3468, allocations: 0 / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3468, allocations: 4 kB / 0.5185 GB, free: 35.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.3468, allocations: 0 / 0.5185 GB, free: 35.5 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.0004898/0.3473, allocations: 427.6 kB / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3473, allocations: 12.47 kB / 0.5189 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.3474, allocations: 10.62 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.3476, allocations: 213.5 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.3476, allocations: 3.281 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.165e-05/0.3476, allocations: 4.125 kB / 0.5192 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001322/0.3477, allocations: 62.83 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.3478, allocations: 0 / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.3478, allocations: 3.938 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.3478, allocations: 0 / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.124e-05/0.3479, allocations: 19.12 kB / 0.5192 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002964/0.3482, allocations: 294.9 kB / 0.5195 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3483, allocations: 59.42 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.3484, allocations: 17.36 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3484, allocations: 6.875 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.3486, allocations: 67.36 kB / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3486, allocations: 0 / 0.5197 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004938/0.3491, allocations: 177.2 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.3491, allocations: 62.22 kB / 0.5199 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.3493, allocations: 205.7 kB / 0.5201 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.3493, allocations: 25.7 kB / 0.5201 GB, free: 34.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.801e-05/0.3494, allocations: 105.1 kB / 0.5202 GB, free: 33.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.3494, allocations: 25.72 kB / 0.5202 GB, free: 33.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.3494, allocations: 26.31 kB / 0.5203 GB, free: 33.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.3495, allocations: 332.3 kB / 0.5206 GB, free: 33.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.057e-05/0.3495, allocations: 19.44 kB / 0.5206 GB, free: 33.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-05/0.3496, allocations: 38.33 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.519e-05/0.3497, allocations: 62.05 kB / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.3497, allocations: 0 / 0.5207 GB, free: 33.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001515/0.3499, allocations: 100.1 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.3499, allocations: 5.531 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3499, allocations: 0 / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.3499, allocations: 7 kB / 0.5208 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.033e-05/0.35, allocations: 18.78 kB / 0.5208 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.35, allocations: 0 / 0.5208 GB, free: 33.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.3501, allocations: 10.88 kB / 0.5208 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.3501, allocations: 2.875 kB / 0.5208 GB, free: 33.46 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.269e-05/0.3502, allocations: 128.8 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.3502, allocations: 9.688 kB / 0.521 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.3502, allocations: 18.31 kB / 0.521 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3502, allocations: 4 kB / 0.521 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3503, allocations: 0 / 0.521 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3503, allocations: 3.938 kB / 0.521 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.3506, allocations: 393.6 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3506, allocations: 192 / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.3506, allocations: 11.42 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3506, allocations: 6.688 kB / 0.5214 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3507, allocations: 7.922 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3507, allocations: 8.203 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3507, allocations: 2.281 kB / 0.5214 GB, free: 32.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.351, allocations: 0.7888 MB / 0.5222 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.3511, allocations: 87.55 kB / 0.5223 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.3511, allocations: 2.688 kB / 0.5223 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.709e-05/0.3512, allocations: 14.16 kB / 0.5223 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.3512, allocations: 2.906 kB / 0.5223 GB, free: 32.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.371e-05/0.3512, allocations: 6.812 kB / 0.5223 GB, free: 32.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.862e-05/0.3513, allocations: 151.2 kB / 0.5224 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3513, allocations: 0 / 0.5224 GB, free: 31.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000334/0.3517, allocations: 32.89 kB / 0.5225 GB, free: 31.98 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.0009394/0.3526, allocations: 465.7 kB / 0.5229 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001575/0.3528, allocations: 64.77 kB / 0.523 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3528, allocations: 4 kB / 0.523 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.235e-05/0.3529, allocations: 31.33 kB / 0.523 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.3532, allocations: 33.98 kB / 0.523 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004436/0.3536, allocations: 389.8 kB / 0.5234 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001319/0.3538, allocations: 0.7047 MB / 0.5241 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.835e-05/0.3538, allocations: 17.22 kB / 0.5241 GB, free: 30.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.3539, allocations: 16.38 kB / 0.5241 GB, free: 30.67 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3539, allocations: 0 / 0.5241 GB, free: 30.67 MB / 378.7 MB Notification: Performance of Templates: time 0.00379/0.3577, allocations: 1.702 MB / 0.5258 GB, free: 30.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches