Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009671/0.0009673, allocations: 192.3 kB / 17.43 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008601/0.0008601, allocations: 97.5 kB / 299.9 MB, free: 5.352 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2945/0.2945, allocations: 45 MB / 397 MB, free: 31.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002518/0.0002518, allocations: 8 kB / 470.8 MB, free: 7.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.272, allocations: 63.1 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001591/0.2737, allocations: 1.428 MB / 0.5228 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2748, allocations: 1.339 MB / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.41e-05/0.2749, allocations: 0 / 0.5241 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.2751, allocations: 45.02 kB / 0.5241 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.2753, allocations: 75.3 kB / 0.5242 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.2756, allocations: 91.28 kB / 0.5243 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.2757, allocations: 104.2 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.275e-05/0.2758, allocations: 9.766 kB / 0.5244 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.261e-05/0.2758, allocations: 34.95 kB / 0.5244 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.2759, allocations: 37.36 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2759, allocations: 6.781 kB / 0.5245 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.181e-05/0.276, allocations: 39.92 kB / 0.5245 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.2761, allocations: 17.23 kB / 0.5245 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.018e-05/0.2761, allocations: 49.2 kB / 0.5246 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.2762, allocations: 111.5 kB / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2763, allocations: 0 / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2763, allocations: 0 / 0.5247 GB, free: 35.97 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.2763, allocations: 0 / 0.5247 GB, free: 35.97 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.0003454/0.2766, allocations: 387.2 kB / 0.525 GB, free: 35.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.2767, allocations: 14.81 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.2767, allocations: 10.25 kB / 0.5251 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.2769, allocations: 219.2 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2769, allocations: 4.359 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/0.2769, allocations: 7.188 kB / 0.5253 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/0.277, allocations: 57.64 kB / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.277, allocations: 0 / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.2771, allocations: 0 / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.2771, allocations: 0 / 0.5253 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.278e-05/0.2771, allocations: 21.67 kB / 0.5254 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002625/0.2774, allocations: 289.9 kB / 0.5256 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.2775, allocations: 53.27 kB / 0.5257 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.2776, allocations: 19.23 kB / 0.5257 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.2776, allocations: 2.656 kB / 0.5257 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.2778, allocations: 82.81 kB / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.2778, allocations: 0 / 0.5258 GB, free: 34.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004193/0.2782, allocations: 174.2 kB / 0.526 GB, free: 34.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.917e-05/0.2783, allocations: 55.34 kB / 0.526 GB, free: 34.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.2784, allocations: 165.3 kB / 0.5262 GB, free: 34.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.2784, allocations: 28.92 kB / 0.5262 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.2784, allocations: 106.3 kB / 0.5263 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.2784, allocations: 17.5 kB / 0.5263 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.2785, allocations: 3.938 kB / 0.5263 GB, free: 34.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.756e-05/0.2785, allocations: 329.1 kB / 0.5266 GB, free: 34.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.769e-05/0.2786, allocations: 17.81 kB / 0.5267 GB, free: 34.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.794e-05/0.2786, allocations: 35.08 kB / 0.5267 GB, free: 34.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/0.2787, allocations: 66.03 kB / 0.5267 GB, free: 34.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.2787, allocations: 0 / 0.5267 GB, free: 34.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001381/0.2789, allocations: 98.25 kB / 0.5268 GB, free: 34.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.2789, allocations: 2.875 kB / 0.5268 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2789, allocations: 2.625 kB / 0.5268 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.2789, allocations: 0 / 0.5268 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.46e-05/0.279, allocations: 22.14 kB / 0.5269 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.279, allocations: 160 / 0.5269 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.328e-05/0.279, allocations: 10.94 kB / 0.5269 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.2791, allocations: 3 kB / 0.5269 GB, free: 34 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 5.974e-05/0.2791, allocations: 127 kB / 0.527 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.532e-05/0.2791, allocations: 13.38 kB / 0.527 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.2792, allocations: 15.48 kB / 0.527 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.2792, allocations: 2.875 kB / 0.527 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.2792, allocations: 0 / 0.527 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2792, allocations: 3.938 kB / 0.527 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.2795, allocations: 399.6 kB / 0.5274 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2795, allocations: 0 / 0.5274 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.838e-05/0.2795, allocations: 8.469 kB / 0.5274 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.2796, allocations: 0 / 0.5274 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.2796, allocations: 14.38 kB / 0.5274 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2796, allocations: 0 / 0.5274 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2796, allocations: 3.938 kB / 0.5274 GB, free: 33.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.2797, allocations: 198.5 kB / 0.5276 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.2798, allocations: 93.44 kB / 0.5277 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.2798, allocations: 3.938 kB / 0.5277 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.582e-05/0.2799, allocations: 3.375 kB / 0.5277 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.558e-05/0.2799, allocations: 6.297 kB / 0.5277 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.2799, allocations: 7.125 kB / 0.5277 GB, free: 33.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.721e-05/0.28, allocations: 127.7 kB / 0.5279 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.28, allocations: 0 / 0.5279 GB, free: 33.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.2802, allocations: 29.92 kB / 0.5279 GB, free: 33.11 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.000891/0.2811, allocations: 0.5331 MB / 0.5284 GB, free: 32.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.2813, allocations: 53.48 kB / 0.5285 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2813, allocations: 4.062 kB / 0.5285 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/0.2813, allocations: 34.12 kB / 0.5285 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2817, allocations: 25.59 kB / 0.5285 GB, free: 32.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003076/0.282, allocations: 242 kB / 0.5288 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001024/0.2821, allocations: 0.702 MB / 0.5294 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.491e-05/0.2821, allocations: 13.02 kB / 0.5295 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.2822, allocations: 19.3 kB / 0.5295 GB, free: 31.85 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2822, allocations: 0 / 0.5295 GB, free: 31.85 MB / 378.7 MB Notification: Performance of Templates: time 0.003296/0.2855, allocations: 1.627 MB / 0.5311 GB, free: 31.67 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches