Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001086/0.001086, allocations: 198.7 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007815/0.0007815, allocations: 93.12 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2895/0.2895, allocations: 45 MB / 397 MB, free: 31.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002384/0.0002385, allocations: 8 kB / 470.8 MB, free: 7.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2705, allocations: 63.1 MB / 0.5214 GB, free: 38.37 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.001905/0.2724, allocations: 1.703 MB / 0.523 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.2738, allocations: 1.588 MB / 0.5246 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.898e-05/0.2739, allocations: 2.656 kB / 0.5246 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000269/0.2741, allocations: 46.89 kB / 0.5246 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002249/0.2744, allocations: 94.53 kB / 0.5247 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002644/0.2746, allocations: 116.8 kB / 0.5248 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.2748, allocations: 199 kB / 0.525 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.2749, allocations: 28.2 kB / 0.5251 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.897e-05/0.2751, allocations: 80.97 kB / 0.5251 GB, free: 35.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.2751, allocations: 75.12 kB / 0.5252 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.2752, allocations: 5.688 kB / 0.5252 GB, free: 35.45 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.444e-05/0.2753, allocations: 40.22 kB / 0.5253 GB, free: 35.44 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.441e-05/0.2753, allocations: 30.16 kB / 0.5253 GB, free: 35.43 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.327e-05/0.2754, allocations: 101.6 kB / 0.5254 GB, free: 35.34 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.2756, allocations: 182.1 kB / 0.5256 GB, free: 35.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2756, allocations: 2.969 kB / 0.5256 GB, free: 35.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.2756, allocations: 0 / 0.5256 GB, free: 35.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.2756, allocations: 0 / 0.5256 GB, free: 35.28 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006689/0.2763, allocations: 0.5461 MB / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.2763, allocations: 9.188 kB / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.266e-05/0.2764, allocations: 17.5 kB / 0.5261 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.2766, allocations: 250.8 kB / 0.5264 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.2766, allocations: 3.344 kB / 0.5264 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.2767, allocations: 15.81 kB / 0.5264 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003568/0.277, allocations: 162 kB / 0.5265 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.277, allocations: 0 / 0.5265 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2771, allocations: 7.938 kB / 0.5265 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.2771, allocations: 2.938 kB / 0.5265 GB, free: 34.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004068/0.2775, allocations: 136.8 kB / 0.5267 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.278, allocations: 0.5479 MB / 0.5272 GB, free: 33.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.2786, allocations: 187.5 kB / 0.5274 GB, free: 33.85 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.2788, allocations: 91.52 kB / 0.5275 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2788, allocations: 2.844 kB / 0.5275 GB, free: 33.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.2792, allocations: 148.5 kB / 0.5276 GB, free: 33.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.2792, allocations: 0 / 0.5276 GB, free: 33.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007356/0.2799, allocations: 292.7 kB / 0.5279 GB, free: 33.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.28, allocations: 66.38 kB / 0.528 GB, free: 33.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.2801, allocations: 224.4 kB / 0.5282 GB, free: 33.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.2802, allocations: 32.23 kB / 0.5282 GB, free: 33.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.445e-05/0.2802, allocations: 126.5 kB / 0.5283 GB, free: 33.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.737e-05/0.2803, allocations: 44.58 kB / 0.5284 GB, free: 33.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-06/0.2803, allocations: 0 / 0.5284 GB, free: 33.26 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.465e-05/0.2803, allocations: 330.9 kB / 0.5287 GB, free: 32.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002288/0.2806, allocations: 85.3 kB / 0.5288 GB, free: 32.92 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000223/0.2808, allocations: 113.8 kB / 0.5289 GB, free: 32.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004125/0.2812, allocations: 214.3 kB / 0.5291 GB, free: 32.75 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2812, allocations: 2.469 kB / 0.5291 GB, free: 32.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005355/0.2818, allocations: 276.3 kB / 0.5293 GB, free: 32.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.2818, allocations: 38.28 kB / 0.5294 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.2818, allocations: 2.531 kB / 0.5294 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2818, allocations: 2.656 kB / 0.5294 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.282, allocations: 55.88 kB / 0.5294 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.282, allocations: 0 / 0.5294 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.2822, allocations: 34.7 kB / 0.5295 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.2822, allocations: 9.844 kB / 0.5295 GB, free: 32.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 8.481e-05/0.2823, allocations: 127.9 kB / 0.5296 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.2823, allocations: 20.47 kB / 0.5296 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.2824, allocations: 26.42 kB / 0.5296 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2824, allocations: 6.844 kB / 0.5297 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.2824, allocations: 0 / 0.5297 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2824, allocations: 2.953 kB / 0.5297 GB, free: 32.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.2825, allocations: 237.2 kB / 0.5299 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2826, allocations: 0 / 0.5299 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001415/0.2827, allocations: 28.62 kB / 0.5299 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2827, allocations: 8.078 kB / 0.5299 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.2827, allocations: 0 / 0.5299 GB, free: 32.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.2827, allocations: 6.938 kB / 0.5299 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2827, allocations: 3.938 kB / 0.5299 GB, free: 32.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007127/0.2835, allocations: 341 kB / 0.5303 GB, free: 32.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/0.2835, allocations: 98.8 kB / 0.5303 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.19e-05/0.2835, allocations: 10.2 kB / 0.5304 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.2837, allocations: 28.14 kB / 0.5304 GB, free: 31.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.2838, allocations: 17.3 kB / 0.5304 GB, free: 31.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2838, allocations: 9.75 kB / 0.5304 GB, free: 31.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.2839, allocations: 170.2 kB / 0.5306 GB, free: 31.82 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2839, allocations: 3.938 kB / 0.5306 GB, free: 31.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.2841, allocations: 32.97 kB / 0.5306 GB, free: 31.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000818/0.2849, allocations: 486 kB / 0.5311 GB, free: 31.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000518/0.2855, allocations: 242.1 kB / 0.5313 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2855, allocations: 4.062 kB / 0.5313 GB, free: 31.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002441/0.2857, allocations: 89.88 kB / 0.5314 GB, free: 31.39 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.286, allocations: 46.12 kB / 0.5314 GB, free: 31.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/0.2866, allocations: 370.6 kB / 0.5318 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.2867, allocations: 0.7206 MB / 0.5325 GB, free: 30.43 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.184e-05/0.2868, allocations: 25.88 kB / 0.5325 GB, free: 30.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.858e-05/0.2869, allocations: 16.06 kB / 0.5325 GB, free: 30.41 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2869, allocations: 0 / 0.5325 GB, free: 30.41 MB / 378.7 MB Notification: Performance of Templates: time 0.004766/0.2916, allocations: 2.587 MB / 0.5351 GB, free: 30.18 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1)