Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008968/0.0008968, allocations: 174.1 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.7 MB / 243.9 MB, free: 8.441 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007915/0.0007916, allocations: 85.33 kB / 295 MB, free: 9.492 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3774/0.3774, allocations: 44.31 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003262/0.0003262, allocations: 12 kB / 463.2 MB, free: 440 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.297, allocations: 61.89 MB / 0.5127 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.001778/0.2988, allocations: 1.401 MB / 0.5141 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.2999, allocations: 0.8929 MB / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.042e-05/0.3, allocations: 0 / 0.515 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.3003, allocations: 45.47 kB / 0.515 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.3005, allocations: 43.2 kB / 0.5151 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.3007, allocations: 102.6 kB / 0.5152 GB, free: 36.1 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3009, allocations: 87.83 kB / 0.5153 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.301, allocations: 12.3 kB / 0.5153 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.004e-05/0.3011, allocations: 40.08 kB / 0.5153 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.3011, allocations: 35.67 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.3012, allocations: 2.688 kB / 0.5153 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.754e-05/0.3012, allocations: 34.38 kB / 0.5154 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.3013, allocations: 20.16 kB / 0.5154 GB, free: 36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.3014, allocations: 60.53 kB / 0.5154 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.3016, allocations: 106.2 kB / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.3016, allocations: 0 / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3016, allocations: 0 / 0.5155 GB, free: 35.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.409e-06/0.3016, allocations: 2.875 kB / 0.5156 GB, free: 35.91 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.000443/0.302, allocations: 400.3 kB / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3021, allocations: 8 kB / 0.5159 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.902e-05/0.3021, allocations: 15.02 kB / 0.516 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.3023, allocations: 215.6 kB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.3024, allocations: 2 kB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.3024, allocations: 5.281 kB / 0.5162 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.3025, allocations: 55.19 kB / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3025, allocations: 0 / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.3026, allocations: 0 / 0.5162 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.3026, allocations: 4.906 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.136e-05/0.3026, allocations: 22.38 kB / 0.5162 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.3029, allocations: 285.8 kB / 0.5165 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.3031, allocations: 60.86 kB / 0.5166 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.018e-05/0.3032, allocations: 24.44 kB / 0.5166 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.3032, allocations: 4.969 kB / 0.5166 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.3034, allocations: 71.95 kB / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.3034, allocations: 0 / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004763/0.3039, allocations: 171.5 kB / 0.5168 GB, free: 34.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.374e-05/0.3039, allocations: 51.41 kB / 0.5169 GB, free: 34.67 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.304, allocations: 195 kB / 0.5171 GB, free: 34.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.3041, allocations: 29.7 kB / 0.5171 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.3041, allocations: 109.5 kB / 0.5172 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.409e-05/0.3041, allocations: 25.84 kB / 0.5172 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.3041, allocations: 2.812 kB / 0.5172 GB, free: 34.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.497e-05/0.3042, allocations: 328.7 kB / 0.5175 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.3043, allocations: 22.92 kB / 0.5176 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.3043, allocations: 32.58 kB / 0.5176 GB, free: 34.03 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.133e-05/0.3044, allocations: 66.64 kB / 0.5177 GB, free: 33.99 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.3044, allocations: 0 / 0.5177 GB, free: 33.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001447/0.3046, allocations: 102.2 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.3046, allocations: 4.781 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3046, allocations: 0 / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3046, allocations: 2.312 kB / 0.5178 GB, free: 33.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.3047, allocations: 23.06 kB / 0.5178 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.3047, allocations: 3.25 kB / 0.5178 GB, free: 33.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.529e-05/0.3048, allocations: 10.59 kB / 0.5178 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3048, allocations: 6.734 kB / 0.5178 GB, free: 33.91 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 7.544e-05/0.3049, allocations: 134.1 kB / 0.5179 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.3049, allocations: 12.78 kB / 0.5179 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.943e-05/0.305, allocations: 18.28 kB / 0.518 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.305, allocations: 3 kB / 0.518 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.305, allocations: 0 / 0.518 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.305, allocations: 3.938 kB / 0.518 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.3053, allocations: 394.1 kB / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3053, allocations: 0 / 0.5183 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.991e-05/0.3054, allocations: 11.84 kB / 0.5184 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.3054, allocations: 6.094 kB / 0.5184 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3054, allocations: 3.938 kB / 0.5184 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3054, allocations: 0 / 0.5184 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3054, allocations: 2.781 kB / 0.5184 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.3056, allocations: 202.1 kB / 0.5186 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.3056, allocations: 88.02 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3056, allocations: 7.062 kB / 0.5187 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.708e-05/0.3057, allocations: 11.23 kB / 0.5187 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.3057, allocations: 4.344 kB / 0.5187 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.3058, allocations: 11.41 kB / 0.5187 GB, free: 33.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.3059, allocations: 149.6 kB / 0.5188 GB, free: 33.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3059, allocations: 4 kB / 0.5188 GB, free: 33.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002258/0.3061, allocations: 24.59 kB / 0.5188 GB, free: 33.02 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.001003/0.3071, allocations: 0.521 MB / 0.5194 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000158/0.3073, allocations: 61.02 kB / 0.5194 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3073, allocations: 3.938 kB / 0.5194 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.429e-05/0.3074, allocations: 25.3 kB / 0.5194 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.3077, allocations: 26.88 kB / 0.5195 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003993/0.3081, allocations: 261.6 kB / 0.5197 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.3082, allocations: 0.7045 MB / 0.5204 GB, free: 31.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.3083, allocations: 16.33 kB / 0.5204 GB, free: 31.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.3083, allocations: 18.95 kB / 0.5204 GB, free: 31.77 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3084, allocations: 0 / 0.5204 GB, free: 31.77 MB / 378.7 MB Notification: Performance of Templates: time 0.004232/0.3126, allocations: 1.624 MB / 0.522 GB, free: 31.57 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches