Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009127/0.0009128, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007597/0.00076, allocations: 99.3 kB / 299.9 MB, free: 5.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.293/0.293, allocations: 45.01 MB / 397 MB, free: 31.45 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002478/0.0002478, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2622, allocations: 63.1 MB / 0.5214 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.001525/0.2638, allocations: 1.369 MB / 0.5227 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007787/0.2646, allocations: 0.7707 MB / 0.5235 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.595e-05/0.2647, allocations: 2.781 kB / 0.5235 GB, free: 36.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002559/0.2649, allocations: 68.61 kB / 0.5235 GB, free: 36.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.2651, allocations: 93.45 kB / 0.5236 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003073/0.2654, allocations: 158.5 kB / 0.5238 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.2656, allocations: 88.7 kB / 0.5239 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.326e-05/0.2656, allocations: 25.27 kB / 0.5239 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.419e-05/0.2657, allocations: 39.12 kB / 0.5239 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.2658, allocations: 48.53 kB / 0.524 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.196e-05/0.2658, allocations: 2.938 kB / 0.524 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.966e-05/0.2659, allocations: 36.48 kB / 0.524 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.2659, allocations: 23.94 kB / 0.524 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.266, allocations: 73.22 kB / 0.5241 GB, free: 36.38 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.2661, allocations: 104.5 kB / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2661, allocations: 0 / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2661, allocations: 0 / 0.5242 GB, free: 36.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.2661, allocations: 2.938 kB / 0.5242 GB, free: 36.34 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003193/0.2665, allocations: 414.8 kB / 0.5246 GB, free: 35.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.802e-05/0.2665, allocations: 12.03 kB / 0.5246 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.2665, allocations: 11.81 kB / 0.5246 GB, free: 35.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2667, allocations: 205.7 kB / 0.5248 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-06/0.2667, allocations: 384 / 0.5248 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.2667, allocations: 10.75 kB / 0.5248 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.2669, allocations: 71.44 kB / 0.5249 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.2669, allocations: 0 / 0.5249 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.2669, allocations: 0 / 0.5249 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2669, allocations: 6.031 kB / 0.5249 GB, free: 35.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001253/0.267, allocations: 53.47 kB / 0.5249 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003224/0.2674, allocations: 330.6 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.2676, allocations: 72.59 kB / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.731e-05/0.2676, allocations: 27.45 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.2677, allocations: 3.156 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.406e-05/0.2677, allocations: 34.56 kB / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2677, allocations: 0 / 0.5254 GB, free: 35.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001283/0.269, allocations: 0.4898 MB / 0.5259 GB, free: 35.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.269, allocations: 57.94 kB / 0.5259 GB, free: 35.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.2692, allocations: 218.5 kB / 0.5261 GB, free: 34.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.757e-06/0.2692, allocations: 25.7 kB / 0.5262 GB, free: 34.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.781e-05/0.2692, allocations: 113.4 kB / 0.5263 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.2692, allocations: 32.94 kB / 0.5263 GB, free: 34.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.591e-06/0.2693, allocations: 0 / 0.5263 GB, free: 34.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.2693, allocations: 327.7 kB / 0.5266 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.2694, allocations: 65.58 kB / 0.5267 GB, free: 34.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2695, allocations: 68.98 kB / 0.5267 GB, free: 34.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.2698, allocations: 139 kB / 0.5269 GB, free: 34.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.2698, allocations: 0 / 0.5269 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002663/0.2701, allocations: 181.9 kB / 0.527 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.2701, allocations: 9.688 kB / 0.5271 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.2701, allocations: 0 / 0.5271 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.2701, allocations: 4 kB / 0.5271 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.865e-05/0.2702, allocations: 35.67 kB / 0.5271 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2702, allocations: 0 / 0.5271 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.532e-05/0.2703, allocations: 18.8 kB / 0.5271 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.2703, allocations: 0 / 0.5271 GB, free: 34.26 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.515e-05/0.2704, allocations: 135.5 kB / 0.5272 GB, free: 34.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.2704, allocations: 13.88 kB / 0.5273 GB, free: 34.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003346/0.2707, allocations: 208.3 kB / 0.5274 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2707, allocations: 3.938 kB / 0.5275 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.2708, allocations: 0 / 0.5275 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2708, allocations: 6.422 kB / 0.5275 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005104/0.2713, allocations: 0.5133 MB / 0.528 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2713, allocations: 3.938 kB / 0.528 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.053e-05/0.2714, allocations: 32.2 kB / 0.528 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2714, allocations: 8.047 kB / 0.528 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.2714, allocations: 2.969 kB / 0.528 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2714, allocations: 0 / 0.528 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2714, allocations: 3.125 kB / 0.528 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.2717, allocations: 287.5 kB / 0.5283 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.2717, allocations: 94.59 kB / 0.5284 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.2718, allocations: 0 / 0.5284 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.827e-05/0.2719, allocations: 19.72 kB / 0.5284 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.2719, allocations: 9.75 kB / 0.5284 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.2719, allocations: 6.312 kB / 0.5284 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.899e-05/0.272, allocations: 156.1 kB / 0.5286 GB, free: 33.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.272, allocations: 0 / 0.5286 GB, free: 33.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002195/0.2723, allocations: 27.47 kB / 0.5286 GB, free: 33.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.0009237/0.2732, allocations: 0.5184 MB / 0.5291 GB, free: 32.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002928/0.2735, allocations: 146.6 kB / 0.5292 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2735, allocations: 0 / 0.5292 GB, free: 32.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.2736, allocations: 87.05 kB / 0.5293 GB, free: 32.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2739, allocations: 22.91 kB / 0.5293 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004187/0.2744, allocations: 364.4 kB / 0.5297 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001203/0.2745, allocations: 0.7236 MB / 0.5304 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.246e-05/0.2746, allocations: 29.61 kB / 0.5304 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/0.2746, allocations: 15.75 kB / 0.5304 GB, free: 31.86 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2746, allocations: 0 / 0.5304 GB, free: 31.86 MB / 378.7 MB Notification: Performance of Templates: time 0.00319/0.2778, allocations: 1.516 MB / 0.5319 GB, free: 31.7 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches