Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.238/1.238, 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.0007557/0.0007561, allocations: 96.22 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3014/0.3014, allocations: 45.01 MB / 397 MB, free: 31.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002084/0.0002084, allocations: 8 kB / 470.8 MB, free: 7.102 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.268, allocations: 63.1 MB / 0.5214 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00163/0.2696, allocations: 1.449 MB / 0.5228 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2709, allocations: 1.343 MB / 0.5241 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.2709, allocations: 3.938 kB / 0.5241 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002898/0.2712, allocations: 112.5 kB / 0.5242 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.2715, allocations: 109.2 kB / 0.5243 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002203/0.2717, allocations: 95.08 kB / 0.5244 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00013/0.2718, allocations: 116.1 kB / 0.5245 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.2719, allocations: 20.03 kB / 0.5245 GB, free: 36.03 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.762e-05/0.272, allocations: 57.14 kB / 0.5246 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.929e-05/0.2721, allocations: 65 kB / 0.5247 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.2721, allocations: 0 / 0.5247 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.2722, allocations: 52.66 kB / 0.5247 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.577e-05/0.2723, allocations: 24 kB / 0.5247 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.849e-05/0.2723, allocations: 73.62 kB / 0.5248 GB, free: 35.9 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.2725, allocations: 143.5 kB / 0.5249 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2725, allocations: 4 kB / 0.5249 GB, free: 35.84 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2725, allocations: 0 / 0.5249 GB, free: 35.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.2725, allocations: 0 / 0.5249 GB, free: 35.84 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003825/0.2729, allocations: 420.2 kB / 0.5253 GB, free: 35.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.2729, allocations: 10.34 kB / 0.5253 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.273, allocations: 17.38 kB / 0.5254 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.2732, allocations: 224.7 kB / 0.5256 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2732, allocations: 2.938 kB / 0.5256 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.2732, allocations: 10.72 kB / 0.5256 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.2733, allocations: 63.36 kB / 0.5257 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.2734, allocations: 0 / 0.5257 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.2734, allocations: 7.938 kB / 0.5257 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2734, allocations: 0 / 0.5257 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.444e-05/0.2734, allocations: 24.53 kB / 0.5257 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002734/0.2737, allocations: 304 kB / 0.526 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.2739, allocations: 66.5 kB / 0.526 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.274, allocations: 23.56 kB / 0.5261 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.274, allocations: 0 / 0.5261 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.2742, allocations: 71.5 kB / 0.5261 GB, free: 34.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.2742, allocations: 0 / 0.5261 GB, free: 34.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005886/0.2748, allocations: 247.8 kB / 0.5264 GB, free: 34.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.2748, allocations: 57.91 kB / 0.5264 GB, free: 34.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.275, allocations: 251.9 kB / 0.5267 GB, free: 34.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.958e-06/0.275, allocations: 28.27 kB / 0.5267 GB, free: 34.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.935e-05/0.275, allocations: 112.2 kB / 0.5268 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.2751, allocations: 33.19 kB / 0.5268 GB, free: 34.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.2751, allocations: 4 kB / 0.5268 GB, free: 34.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.866e-05/0.2751, allocations: 331.9 kB / 0.5271 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.2752, allocations: 30.56 kB / 0.5272 GB, free: 33.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.909e-05/0.2753, allocations: 43.31 kB / 0.5272 GB, free: 33.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.2754, allocations: 83.33 kB / 0.5273 GB, free: 33.81 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.2754, allocations: 0 / 0.5273 GB, free: 33.81 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001629/0.2756, allocations: 123.6 kB / 0.5274 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.2756, allocations: 9.266 kB / 0.5274 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.2756, allocations: 4.031 kB / 0.5274 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2756, allocations: 6.938 kB / 0.5274 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-05/0.2757, allocations: 26 kB / 0.5275 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2757, allocations: 6.938 kB / 0.5275 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.309e-05/0.2758, allocations: 2.75 kB / 0.5275 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.2758, allocations: 2.875 kB / 0.5275 GB, free: 33.73 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 (13): * Single equations (assignments): 13 * 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.82e-05/0.2758, allocations: 131.8 kB / 0.5276 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.2759, allocations: 15.91 kB / 0.5276 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.117e-05/0.2759, allocations: 27.16 kB / 0.5276 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2759, allocations: 3.812 kB / 0.5276 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2759, allocations: 3.938 kB / 0.5276 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.2759, allocations: 3.938 kB / 0.5276 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003565/0.2763, allocations: 456.3 kB / 0.5281 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.2763, allocations: 0 / 0.5281 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.2764, allocations: 11.69 kB / 0.5281 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2764, allocations: 10.98 kB / 0.5281 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.2764, allocations: 5.922 kB / 0.5281 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.2764, allocations: 3.938 kB / 0.5281 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.2764, allocations: 0 / 0.5281 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.2766, allocations: 235.1 kB / 0.5283 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.986e-05/0.2766, allocations: 95.77 kB / 0.5284 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.2766, allocations: 6.906 kB / 0.5284 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.2767, allocations: 2.938 kB / 0.5284 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.056e-05/0.2768, allocations: 8.969 kB / 0.5284 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2768, allocations: 6.781 kB / 0.5285 GB, free: 32.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.2769, allocations: 195.6 kB / 0.5286 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.2769, allocations: 0 / 0.5286 GB, free: 32.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002251/0.2771, allocations: 38.59 kB / 0.5287 GB, free: 32.76 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 (11): * Single equations (assignments): 9 * 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.0009695/0.2781, allocations: 0.5809 MB / 0.5292 GB, free: 32.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.2783, allocations: 79.95 kB / 0.5293 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2783, allocations: 0 / 0.5293 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.788e-05/0.2784, allocations: 46.53 kB / 0.5294 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.2787, allocations: 33.06 kB / 0.5294 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003831/0.279, allocations: 335.7 kB / 0.5297 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.2792, allocations: 0.7294 MB / 0.5304 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.2793, allocations: 23.22 kB / 0.5305 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.2793, allocations: 20.22 kB / 0.5305 GB, free: 31.4 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2793, allocations: 0 / 0.5305 GB, free: 31.4 MB / 378.7 MB Notification: Performance of Templates: time 0.003629/0.283, allocations: 1.911 MB / 0.5323 GB, free: 31.19 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches