Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 194.2 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.39/1.39, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008202/0.0008204, allocations: 90.72 kB / 299.8 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3078/0.3078, allocations: 45 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000254/0.0002541, allocations: 8 kB / 470.8 MB, free: 7.078 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3114, allocations: 63.1 MB / 0.5214 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.001702/0.3132, allocations: 1.429 MB / 0.5228 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.3145, allocations: 1.343 MB / 0.5241 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.3145, allocations: 0 / 0.5241 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002618/0.3148, allocations: 58.56 kB / 0.5241 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.315, allocations: 82.72 kB / 0.5242 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.3153, allocations: 92.73 kB / 0.5243 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.3154, allocations: 101.9 kB / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.482e-05/0.3155, allocations: 10.94 kB / 0.5244 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.784e-05/0.3156, allocations: 45.52 kB / 0.5245 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.3156, allocations: 30.91 kB / 0.5245 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.3157, allocations: 6.75 kB / 0.5245 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.85e-05/0.3157, allocations: 35.12 kB / 0.5245 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.3158, allocations: 34.03 kB / 0.5246 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.915e-05/0.3158, allocations: 58.02 kB / 0.5246 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.316, allocations: 118.2 kB / 0.5247 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.316, allocations: 2.844 kB / 0.5247 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.316, allocations: 4 kB / 0.5247 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.316, allocations: 0 / 0.5247 GB, free: 35.88 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.0003707/0.3164, allocations: 412.1 kB / 0.5251 GB, free: 35.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3164, allocations: 8.219 kB / 0.5251 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.3165, allocations: 17.83 kB / 0.5252 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.3167, allocations: 215.2 kB / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.3167, allocations: 6.578 kB / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.3167, allocations: 4.125 kB / 0.5254 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.3168, allocations: 58.97 kB / 0.5254 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3168, allocations: 3.906 kB / 0.5254 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.3169, allocations: 0 / 0.5254 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.3169, allocations: 0 / 0.5254 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.372e-05/0.3169, allocations: 22.88 kB / 0.5255 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000254/0.3172, allocations: 291.5 kB / 0.5257 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.3173, allocations: 60.66 kB / 0.5258 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.3174, allocations: 21.08 kB / 0.5258 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.3174, allocations: 0 / 0.5258 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001371/0.3176, allocations: 73.09 kB / 0.5259 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.3176, allocations: 0 / 0.5259 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004349/0.318, allocations: 180.2 kB / 0.5261 GB, free: 34.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.318, allocations: 59.34 kB / 0.5261 GB, free: 34.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.3182, allocations: 232.1 kB / 0.5263 GB, free: 34.47 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.3182, allocations: 29.7 kB / 0.5264 GB, free: 34.44 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.639e-05/0.3183, allocations: 104.6 kB / 0.5265 GB, free: 34.34 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.3183, allocations: 28.55 kB / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.3183, allocations: 0 / 0.5265 GB, free: 34.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.3184, allocations: 331.8 kB / 0.5268 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.3184, allocations: 18.45 kB / 0.5268 GB, free: 33.99 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/0.3185, allocations: 36.17 kB / 0.5269 GB, free: 33.96 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.622e-05/0.3186, allocations: 63.55 kB / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.3186, allocations: 0 / 0.5269 GB, free: 33.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00014/0.3187, allocations: 100.1 kB / 0.527 GB, free: 33.87 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3187, allocations: 6.875 kB / 0.527 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.3187, allocations: 2.781 kB / 0.527 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3188, allocations: 3.938 kB / 0.527 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.679e-05/0.3188, allocations: 26.53 kB / 0.5271 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3189, allocations: 0 / 0.5271 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.332e-05/0.3189, allocations: 9.906 kB / 0.5271 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3189, allocations: 6.875 kB / 0.5271 GB, free: 33.84 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 6.876e-05/0.319, allocations: 128.5 kB / 0.5272 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.613e-05/0.319, allocations: 16.41 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.319, allocations: 18.38 kB / 0.5272 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3191, allocations: 3.984 kB / 0.5272 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3191, allocations: 4 kB / 0.5272 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3191, allocations: 3.938 kB / 0.5272 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.3194, allocations: 402.5 kB / 0.5276 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3194, allocations: 2.844 kB / 0.5276 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.766e-05/0.3194, allocations: 5.906 kB / 0.5276 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3194, allocations: 0 / 0.5276 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.3194, allocations: 6.844 kB / 0.5276 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3195, allocations: 0 / 0.5276 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3195, allocations: 10.75 kB / 0.5276 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.3196, allocations: 205.2 kB / 0.5278 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.277e-05/0.3197, allocations: 86.77 kB / 0.5279 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.3197, allocations: 7.266 kB / 0.5279 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.621e-05/0.3198, allocations: 6.969 kB / 0.5279 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.986e-05/0.3198, allocations: 6.25 kB / 0.5279 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.3198, allocations: 9.719 kB / 0.528 GB, free: 33.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.878e-05/0.3199, allocations: 171.5 kB / 0.5281 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.32, allocations: 0 / 0.5281 GB, free: 32.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002133/0.3202, allocations: 28.97 kB / 0.5281 GB, free: 32.95 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.0008717/0.321, allocations: 0.5207 MB / 0.5286 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000139/0.3212, allocations: 53.48 kB / 0.5287 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3212, allocations: 0 / 0.5287 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.852e-05/0.3213, allocations: 32.3 kB / 0.5287 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.3216, allocations: 32.06 kB / 0.5288 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003745/0.3219, allocations: 296.8 kB / 0.529 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3221, allocations: 0.7105 MB / 0.5297 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.757e-05/0.3221, allocations: 17.2 kB / 0.5298 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.3222, allocations: 19.44 kB / 0.5298 GB, free: 31.67 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3222, allocations: 0 / 0.5298 GB, free: 31.67 MB / 378.7 MB Notification: Performance of Templates: time 0.003468/0.3256, allocations: 1.655 MB / 0.5314 GB, free: 31.48 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches