Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 199.7 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, 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.0007299/0.00073, allocations: 94.84 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.2968/0.2968, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002273/0.0002273, allocations: 12 kB / 470.8 MB, free: 7.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.255, allocations: 63.1 MB / 0.5214 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001529/0.2566, allocations: 1.435 MB / 0.5228 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001177/0.2578, allocations: 1.346 MB / 0.5241 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/0.2578, allocations: 2.5 kB / 0.5241 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002344/0.2581, allocations: 40.7 kB / 0.5241 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.2583, allocations: 72.98 kB / 0.5242 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.2585, allocations: 104 kB / 0.5243 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.2586, allocations: 97.8 kB / 0.5244 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.425e-05/0.2587, allocations: 5 kB / 0.5244 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.601e-05/0.2588, allocations: 42.88 kB / 0.5244 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.2589, allocations: 33.11 kB / 0.5245 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.2589, allocations: 3.062 kB / 0.5245 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.56e-05/0.259, allocations: 39.58 kB / 0.5245 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.171e-05/0.259, allocations: 19.02 kB / 0.5245 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.141e-05/0.2591, allocations: 70.2 kB / 0.5246 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.2592, allocations: 109.5 kB / 0.5247 GB, free: 35.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2592, allocations: 0 / 0.5247 GB, free: 35.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.2592, allocations: 0 / 0.5247 GB, free: 35.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.2592, allocations: 0 / 0.5247 GB, free: 35.86 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.0003762/0.2596, allocations: 393.6 kB / 0.5251 GB, free: 35.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2596, allocations: 8.375 kB / 0.5251 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.2597, allocations: 14.12 kB / 0.5251 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.2599, allocations: 214.1 kB / 0.5253 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.2599, allocations: 7.188 kB / 0.5253 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.2599, allocations: 4.125 kB / 0.5253 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.2601, allocations: 59.05 kB / 0.5254 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2601, allocations: 3.984 kB / 0.5254 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.2601, allocations: 0 / 0.5254 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2601, allocations: 0 / 0.5254 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.564e-05/0.2602, allocations: 22.64 kB / 0.5254 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.2605, allocations: 293.2 kB / 0.5257 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.2606, allocations: 61.11 kB / 0.5257 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.45e-05/0.2607, allocations: 22.31 kB / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.2607, allocations: 2.875 kB / 0.5258 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.2608, allocations: 66.09 kB / 0.5258 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.2608, allocations: 6.969 kB / 0.5258 GB, free: 34.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004726/0.2613, allocations: 180 kB / 0.526 GB, free: 34.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.2614, allocations: 54.19 kB / 0.5261 GB, free: 34.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.2615, allocations: 190.3 kB / 0.5262 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.2615, allocations: 29.7 kB / 0.5263 GB, free: 34.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.559e-05/0.2616, allocations: 102 kB / 0.5264 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.043e-05/0.2616, allocations: 22.47 kB / 0.5264 GB, free: 34.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.2616, allocations: 6.75 kB / 0.5264 GB, free: 34.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.2616, allocations: 340.4 kB / 0.5267 GB, free: 34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.618e-05/0.2617, allocations: 15 kB / 0.5267 GB, free: 34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.2618, allocations: 32.8 kB / 0.5268 GB, free: 33.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.93e-05/0.2619, allocations: 59.58 kB / 0.5268 GB, free: 33.94 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2619, allocations: 0 / 0.5268 GB, free: 33.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001418/0.2621, allocations: 104.6 kB / 0.5269 GB, free: 33.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.2621, allocations: 5.844 kB / 0.5269 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2621, allocations: 80 / 0.5269 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.2621, allocations: 2.906 kB / 0.5269 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.2622, allocations: 15.22 kB / 0.5269 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.2622, allocations: 10.86 kB / 0.5269 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.2623, allocations: 11.84 kB / 0.527 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.2623, allocations: 2.938 kB / 0.527 GB, free: 33.86 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.069e-05/0.2623, allocations: 128.8 kB / 0.5271 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.454e-05/0.2624, allocations: 11 kB / 0.5271 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.2624, allocations: 18.75 kB / 0.5271 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.2624, allocations: 2.688 kB / 0.5271 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.2624, allocations: 0 / 0.5271 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2624, allocations: 7.875 kB / 0.5271 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.2627, allocations: 391.7 kB / 0.5275 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.2627, allocations: 0 / 0.5275 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.2628, allocations: 8.375 kB / 0.5275 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2628, allocations: 7.5 kB / 0.5275 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.2628, allocations: 6.781 kB / 0.5275 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2628, allocations: 0 / 0.5275 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2628, allocations: 0 / 0.5275 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.263, allocations: 206.4 kB / 0.5277 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.706e-05/0.263, allocations: 83.98 kB / 0.5278 GB, free: 33.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/0.263, allocations: 11.31 kB / 0.5278 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.626e-05/0.2631, allocations: 10.2 kB / 0.5278 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.773e-05/0.2631, allocations: 2.969 kB / 0.5278 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.2631, allocations: 10.36 kB / 0.5278 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.718e-05/0.2632, allocations: 146.5 kB / 0.528 GB, free: 32.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2632, allocations: 0 / 0.528 GB, free: 32.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.2635, allocations: 24.84 kB / 0.528 GB, free: 32.98 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.0009318/0.2644, allocations: 0.5207 MB / 0.5285 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.2646, allocations: 62.48 kB / 0.5286 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2646, allocations: 0 / 0.5286 GB, free: 32.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.917e-05/0.2646, allocations: 36.55 kB / 0.5286 GB, free: 32.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.265, allocations: 37.14 kB / 0.5286 GB, free: 32.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.2653, allocations: 263.7 kB / 0.5289 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.2654, allocations: 0.7064 MB / 0.5296 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.648e-05/0.2655, allocations: 13.3 kB / 0.5296 GB, free: 31.7 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.2655, allocations: 16.31 kB / 0.5296 GB, free: 31.7 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2655, allocations: 0 / 0.5296 GB, free: 31.7 MB / 378.7 MB Notification: Performance of Templates: time 0.003525/0.2691, allocations: 1.634 MB / 0.5312 GB, free: 31.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches