Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009647/0.0009648, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.215/1.215, allocations: 229.5 MB / 247.7 MB, free: 6.352 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007518/0.0007518, allocations: 101.1 kB / 299.8 MB, free: 5.371 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2711/0.2711, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002467/0.0002468, allocations: 8 kB / 470.8 MB, free: 7.125 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2729, allocations: 63.11 MB / 0.5214 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.001514/0.2744, allocations: 1.468 MB / 0.5228 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.2756, allocations: 1.349 MB / 0.5241 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.2757, allocations: 0 / 0.5241 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.2759, allocations: 113.2 kB / 0.5242 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.2762, allocations: 108.4 kB / 0.5243 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002194/0.2764, allocations: 101 kB / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.2765, allocations: 125.5 kB / 0.5246 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.488e-05/0.2766, allocations: 27.53 kB / 0.5246 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.2767, allocations: 59.67 kB / 0.5246 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.2768, allocations: 64.77 kB / 0.5247 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.495e-05/0.2768, allocations: 2.844 kB / 0.5247 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.901e-05/0.2769, allocations: 50.77 kB / 0.5248 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.531e-05/0.277, allocations: 30.05 kB / 0.5248 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.564e-05/0.277, allocations: 72.36 kB / 0.5249 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.2772, allocations: 153.9 kB / 0.525 GB, free: 35.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2772, allocations: 7.938 kB / 0.525 GB, free: 35.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2772, allocations: 0 / 0.525 GB, free: 35.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.2772, allocations: 4 kB / 0.525 GB, free: 35.78 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003655/0.2776, allocations: 433.6 kB / 0.5254 GB, free: 35.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.815e-05/0.2776, allocations: 8.688 kB / 0.5254 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.357e-05/0.2777, allocations: 14.91 kB / 0.5255 GB, free: 35.35 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001629/0.2778, allocations: 230.8 kB / 0.5257 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.2778, allocations: 3.375 kB / 0.5257 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.2779, allocations: 11.22 kB / 0.5257 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.278, allocations: 79.58 kB / 0.5258 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.278, allocations: 3.938 kB / 0.5258 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.278, allocations: 0 / 0.5258 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.278, allocations: 2.938 kB / 0.5258 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.967e-05/0.2781, allocations: 34.48 kB / 0.5258 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002813/0.2784, allocations: 328.8 kB / 0.5261 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.2786, allocations: 83.06 kB / 0.5262 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.312e-05/0.2787, allocations: 24.52 kB / 0.5262 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.2787, allocations: 6.312 kB / 0.5262 GB, free: 34.68 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.2789, allocations: 70.66 kB / 0.5263 GB, free: 34.63 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2789, allocations: 0 / 0.5263 GB, free: 34.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006605/0.2795, allocations: 322.1 kB / 0.5266 GB, free: 34.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.715e-05/0.2796, allocations: 51.41 kB / 0.5266 GB, free: 34.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.2797, allocations: 254.5 kB / 0.5269 GB, free: 34.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/0.2798, allocations: 25.7 kB / 0.5269 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.835e-05/0.2798, allocations: 116.5 kB / 0.527 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.2798, allocations: 47.53 kB / 0.5271 GB, free: 34.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-06/0.2798, allocations: 7.062 kB / 0.5271 GB, free: 34.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.2799, allocations: 325.3 kB / 0.5274 GB, free: 33.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.763e-05/0.28, allocations: 41.84 kB / 0.5274 GB, free: 33.76 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.977e-05/0.28, allocations: 57.88 kB / 0.5275 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.2802, allocations: 96.27 kB / 0.5276 GB, free: 33.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.2802, allocations: 0 / 0.5276 GB, free: 33.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001983/0.2804, allocations: 163.6 kB / 0.5277 GB, free: 33.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.879e-06/0.2804, allocations: 5.406 kB / 0.5277 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.2804, allocations: 0 / 0.5277 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.2804, allocations: 10.91 kB / 0.5277 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.361e-05/0.2805, allocations: 24.95 kB / 0.5278 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2805, allocations: 0 / 0.5278 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.2806, allocations: 6.75 kB / 0.5278 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2806, allocations: 13.16 kB / 0.5278 GB, free: 33.57 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 (16): * Single equations (assignments): 16 * 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.098e-05/0.2807, allocations: 134.8 kB / 0.5279 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.862e-05/0.2807, allocations: 17.97 kB / 0.5279 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.2807, allocations: 24.88 kB / 0.528 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2808, allocations: 11.22 kB / 0.528 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2808, allocations: 0 / 0.528 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.2808, allocations: 0 / 0.528 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.2812, allocations: 0.5025 MB / 0.5285 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2812, allocations: 2.781 kB / 0.5285 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.213e-05/0.2813, allocations: 17.53 kB / 0.5285 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.2813, allocations: 6.531 kB / 0.5285 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.799e-06/0.2813, allocations: 2.906 kB / 0.5285 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.2813, allocations: 0 / 0.5285 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2813, allocations: 3.562 kB / 0.5285 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002091/0.2815, allocations: 271.4 kB / 0.5287 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.2816, allocations: 94.98 kB / 0.5288 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.2816, allocations: 10.19 kB / 0.5288 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.388e-05/0.2817, allocations: 6.781 kB / 0.5289 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.2817, allocations: 8.953 kB / 0.5289 GB, free: 32.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.2817, allocations: 9.875 kB / 0.5289 GB, free: 32.7 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.2818, allocations: 197.8 kB / 0.5291 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2818, allocations: 0 / 0.5291 GB, free: 32.59 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002295/0.2821, allocations: 31.09 kB / 0.5291 GB, free: 32.58 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: 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 (14): * Single equations (assignments): 12 * 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.0009622/0.283, allocations: 0.5854 MB / 0.5297 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.2832, allocations: 105 kB / 0.5298 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2833, allocations: 0 / 0.5298 GB, free: 32.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.878e-05/0.2833, allocations: 50.53 kB / 0.5298 GB, free: 32.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.2837, allocations: 36.45 kB / 0.5298 GB, free: 32.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004127/0.2841, allocations: 371.3 kB / 0.5302 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2842, allocations: 0.7301 MB / 0.5309 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.2843, allocations: 29.36 kB / 0.5309 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.2843, allocations: 26.16 kB / 0.531 GB, free: 31.19 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.2843, allocations: 0 / 0.531 GB, free: 31.19 MB / 378.7 MB Notification: Performance of Templates: time 0.003803/0.2881, allocations: 2.087 MB / 0.533 GB, free: 30.96 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches