Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001963/0.001962, 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.425/1.425, 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.001135/0.001135, allocations: 105.4 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.4076/0.4076, allocations: 44.83 MB / 392.7 MB, free: 34.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3378, allocations: 62.01 MB / 0.5152 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003151/0.341, allocations: 1.898 MB / 0.517 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.3431, allocations: 1.694 MB / 0.5187 GB, free: 35.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.321e-05/0.3432, allocations: 3.938 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.3436, allocations: 47.83 kB / 0.5187 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002864/0.3439, allocations: 112.8 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.3442, allocations: 155.6 kB / 0.519 GB, free: 35.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.3445, allocations: 184.7 kB / 0.5191 GB, free: 35 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.453e-05/0.3445, allocations: 22.3 kB / 0.5192 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.3447, allocations: 87.33 kB / 0.5192 GB, free: 34.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000176/0.3448, allocations: 74.33 kB / 0.5193 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.3449, allocations: 5.781 kB / 0.5193 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.345, allocations: 108.5 kB / 0.5194 GB, free: 34.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.3451, allocations: 38.03 kB / 0.5195 GB, free: 34.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.735e-05/0.3452, allocations: 59.12 kB / 0.5195 GB, free: 34.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.3454, allocations: 222.1 kB / 0.5197 GB, free: 34.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3454, allocations: 0 / 0.5197 GB, free: 34.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.3454, allocations: 0 / 0.5197 GB, free: 34.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.3454, allocations: 4 kB / 0.5197 GB, free: 34.72 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005722/0.346, allocations: 497.2 kB / 0.5202 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.346, allocations: 11.31 kB / 0.5202 GB, free: 34.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.3461, allocations: 14.53 kB / 0.5202 GB, free: 34.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.3463, allocations: 255.2 kB / 0.5205 GB, free: 34.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3464, allocations: 4.375 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3464, allocations: 7 kB / 0.5205 GB, free: 34.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3466, allocations: 108.7 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3466, allocations: 0 / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3466, allocations: 6.781 kB / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3466, allocations: 0 / 0.5206 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.204e-05/0.3467, allocations: 32.3 kB / 0.5206 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001669/0.3469, allocations: 215 kB / 0.5208 GB, free: 33.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3471, allocations: 109.2 kB / 0.5209 GB, free: 33.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.699e-05/0.3472, allocations: 42.97 kB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.3472, allocations: 2.906 kB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.3475, allocations: 115.3 kB / 0.5211 GB, free: 33.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.724e-06/0.3475, allocations: 3.984 kB / 0.5211 GB, free: 33.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003783/0.3479, allocations: 164.4 kB / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/0.3479, allocations: 131.3 kB / 0.5214 GB, free: 33.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002175/0.3481, allocations: 239.7 kB / 0.5216 GB, free: 33.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.3482, allocations: 29.03 kB / 0.5216 GB, free: 33.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.3482, allocations: 115.6 kB / 0.5217 GB, free: 32.99 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.3482, allocations: 29.2 kB / 0.5218 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.718e-05/0.3483, allocations: 26.38 kB / 0.5218 GB, free: 32.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.42e-05/0.3483, allocations: 332 kB / 0.5221 GB, free: 32.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.3484, allocations: 26.06 kB / 0.5221 GB, free: 32.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.672e-05/0.3485, allocations: 71.97 kB / 0.5222 GB, free: 32.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001457/0.3487, allocations: 88.7 kB / 0.5223 GB, free: 32.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3487, allocations: 6.844 kB / 0.5223 GB, free: 32.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002201/0.3489, allocations: 151.1 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3489, allocations: 3.938 kB / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3489, allocations: 0 / 0.5224 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.349, allocations: 3.938 kB / 0.5225 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.525e-05/0.3491, allocations: 21.23 kB / 0.5225 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3491, allocations: 0 / 0.5225 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.3491, allocations: 9.75 kB / 0.5225 GB, free: 32.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3492, allocations: 7.094 kB / 0.5225 GB, free: 32.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 8.606e-05/0.3493, allocations: 142.1 kB / 0.5226 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.3493, allocations: 16.56 kB / 0.5226 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.3493, allocations: 17.95 kB / 0.5227 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3493, allocations: 2.875 kB / 0.5227 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3493, allocations: 0 / 0.5227 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3494, allocations: 3.281 kB / 0.5227 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.3495, allocations: 229.6 kB / 0.5229 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3495, allocations: 9.75 kB / 0.5229 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.749e-05/0.3495, allocations: 5.469 kB / 0.5229 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3495, allocations: 0 / 0.5229 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.3495, allocations: 2.469 kB / 0.5229 GB, free: 32.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3496, allocations: 6.75 kB / 0.5229 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3496, allocations: 0 / 0.5229 GB, free: 32.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004518/0.35, allocations: 0.7779 MB / 0.5237 GB, free: 31.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.3501, allocations: 97.95 kB / 0.5238 GB, free: 31.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.985e-05/0.3501, allocations: 9.625 kB / 0.5238 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.414e-05/0.3502, allocations: 6.594 kB / 0.5238 GB, free: 31.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.3502, allocations: 12.39 kB / 0.5238 GB, free: 31.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.3502, allocations: 6.594 kB / 0.5238 GB, free: 31.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001265/0.3504, allocations: 180 kB / 0.524 GB, free: 31.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3504, allocations: 0 / 0.524 GB, free: 31.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003648/0.3507, allocations: 57.98 kB / 0.524 GB, free: 31.06 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001025/0.3518, allocations: 0.4939 MB / 0.5245 GB, free: 30.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.352, allocations: 79.75 kB / 0.5246 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.352, allocations: 0 / 0.5246 GB, free: 30.79 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/0.3521, allocations: 39.86 kB / 0.5246 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.3525, allocations: 56.28 kB / 0.5247 GB, free: 30.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005436/0.353, allocations: 442.4 kB / 0.5251 GB, free: 30.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001401/0.3532, allocations: 0.7238 MB / 0.5258 GB, free: 29.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.889e-05/0.3533, allocations: 39.08 kB / 0.5258 GB, free: 29.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.3533, allocations: 32.89 kB / 0.5259 GB, free: 29.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3534, allocations: 0 / 0.5259 GB, free: 29.68 MB / 378.7 MB Notification: Performance of Templates: time 0.005738/0.3591, allocations: 3.098 MB / 0.5289 GB, free: 29.36 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches