Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 200.6 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.211/1.211, allocations: 229.5 MB / 247.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007503/0.0007505, allocations: 95.78 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.277/0.277, allocations: 45 MB / 397 MB, free: 31.51 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002354/0.0002354, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.261, allocations: 63.1 MB / 0.5214 GB, free: 38.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.001565/0.2626, allocations: 1.435 MB / 0.5228 GB, free: 37.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.2637, allocations: 1.345 MB / 0.5241 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.542e-05/0.2638, allocations: 2.531 kB / 0.5241 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.264, allocations: 35.78 kB / 0.5241 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001869/0.2642, allocations: 76.88 kB / 0.5242 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.2645, allocations: 97.23 kB / 0.5243 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.2646, allocations: 98 kB / 0.5244 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.968e-05/0.2647, allocations: 11.16 kB / 0.5244 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.2647, allocations: 40.36 kB / 0.5244 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.88e-05/0.2648, allocations: 30.89 kB / 0.5245 GB, free: 36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.2648, allocations: 2.719 kB / 0.5245 GB, free: 36 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.347e-05/0.2649, allocations: 43.88 kB / 0.5245 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.966e-05/0.2649, allocations: 23.48 kB / 0.5245 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.265, allocations: 54.11 kB / 0.5246 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2651, allocations: 110.8 kB / 0.5247 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2651, allocations: 0 / 0.5247 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2651, allocations: 0 / 0.5247 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.2651, 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.0003334/0.2655, allocations: 393.9 kB / 0.5251 GB, free: 35.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.2655, allocations: 8.875 kB / 0.5251 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.784e-05/0.2656, allocations: 18.05 kB / 0.5251 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001419/0.2657, allocations: 208.8 kB / 0.5253 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.2657, allocations: 3.594 kB / 0.5253 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.2657, allocations: 8.125 kB / 0.5253 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.2659, allocations: 52.72 kB / 0.5254 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.2659, allocations: 10.09 kB / 0.5254 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.2659, allocations: 0 / 0.5254 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2659, allocations: 0 / 0.5254 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.135e-05/0.266, allocations: 19.23 kB / 0.5254 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.2662, allocations: 293.9 kB / 0.5257 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.2663, allocations: 54.91 kB / 0.5257 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.2664, allocations: 21.98 kB / 0.5257 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.2664, allocations: 0 / 0.5257 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001283/0.2665, allocations: 70.53 kB / 0.5258 GB, free: 34.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.2666, allocations: 6.719 kB / 0.5258 GB, free: 34.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004005/0.267, allocations: 167.7 kB / 0.526 GB, free: 34.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.859e-05/0.267, allocations: 54.31 kB / 0.526 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.2671, allocations: 182.9 kB / 0.5262 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2671, allocations: 28.67 kB / 0.5262 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.2672, allocations: 102.4 kB / 0.5263 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.885e-05/0.2672, allocations: 34.03 kB / 0.5264 GB, free: 34.36 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.2672, allocations: 6.906 kB / 0.5264 GB, free: 34.36 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.2672, allocations: 324.8 kB / 0.5267 GB, free: 34.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.654e-05/0.2673, allocations: 20.42 kB / 0.5267 GB, free: 34.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.726e-05/0.2673, allocations: 35.61 kB / 0.5267 GB, free: 34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.532e-05/0.2674, allocations: 56.2 kB / 0.5268 GB, free: 33.97 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.2674, allocations: 6.75 kB / 0.5268 GB, free: 33.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001354/0.2676, allocations: 105.4 kB / 0.5269 GB, free: 33.9 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.297e-06/0.2676, allocations: 5.656 kB / 0.5269 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.2676, allocations: 0 / 0.5269 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2676, allocations: 0 / 0.5269 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/0.2677, allocations: 18.59 kB / 0.5269 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.2677, allocations: 0 / 0.5269 GB, free: 33.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.2678, allocations: 9.875 kB / 0.5269 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.2678, allocations: 2.75 kB / 0.5269 GB, free: 33.89 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.758e-05/0.2678, allocations: 124.8 kB / 0.527 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.2679, allocations: 14.44 kB / 0.5271 GB, free: 33.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.254e-05/0.2679, allocations: 12.34 kB / 0.5271 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2679, allocations: 6.953 kB / 0.5271 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.2679, allocations: 0 / 0.5271 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.2679, allocations: 3.938 kB / 0.5271 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.2682, allocations: 391 kB / 0.5274 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.2682, allocations: 4.406 kB / 0.5275 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.2683, allocations: 12.41 kB / 0.5275 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.2683, allocations: 0 / 0.5275 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2683, allocations: 10.84 kB / 0.5275 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2683, allocations: 0 / 0.5275 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2683, allocations: 0 / 0.5275 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.2684, allocations: 206.5 kB / 0.5277 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.2685, allocations: 88.05 kB / 0.5278 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.2685, allocations: 10.88 kB / 0.5278 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.501e-05/0.2686, allocations: 6.266 kB / 0.5278 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.2686, allocations: 2.906 kB / 0.5278 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.2686, allocations: 6.172 kB / 0.5278 GB, free: 33.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.395e-05/0.2687, allocations: 140.2 kB / 0.5279 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2687, allocations: 3.938 kB / 0.5279 GB, free: 33.02 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002182/0.2689, allocations: 25.62 kB / 0.5279 GB, free: 33.01 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.0008337/0.2698, allocations: 0.5256 MB / 0.5285 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001383/0.2699, allocations: 57.09 kB / 0.5285 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.2699, allocations: 0 / 0.5285 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.27, allocations: 35.97 kB / 0.5285 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.2703, allocations: 32.94 kB / 0.5286 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.2706, allocations: 255.5 kB / 0.5288 GB, free: 32.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.7e-05/0.2707, allocations: 0.6976 MB / 0.5295 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.437e-05/0.2708, allocations: 16.88 kB / 0.5295 GB, free: 31.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.2708, allocations: 19.34 kB / 0.5295 GB, free: 31.74 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.2708, allocations: 0 / 0.5295 GB, free: 31.74 MB / 378.7 MB Notification: Performance of Templates: time 0.003186/0.274, allocations: 1.634 MB / 0.5311 GB, free: 31.56 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches