Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001005/0.001005, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001066/0.001066, allocations: 165.8 kB / 24.91 MB, free: 8.766 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9739/0.9739, allocations: 177 MB / 205.2 MB, free: 5.438 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2967/0.2967, allocations: 34.87 MB / 296.6 MB, free: 0.5234 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 3.938 kB / 326 MB, free: 7.109 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.531e-05, allocations: 4.281 kB / 326 MB, free: 7.105 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.001989/0.002004, allocations: 1.718 MB / 327.7 MB, free: 5.379 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.003172, allocations: 0.9939 MB / 328.7 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.003235, allocations: 0 / 328.7 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002631/0.003498, allocations: 51.81 kB / 328.8 MB, free: 4.328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002673/0.003765, allocations: 115.3 kB / 328.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.003918, allocations: 71.67 kB / 328.9 MB, free: 4.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.004052, allocations: 99.62 kB / 329 MB, free: 4.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.64e-05/0.004089, allocations: 16.22 kB / 329.1 MB, free: 4.031 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.22e-05/0.004171, allocations: 55.83 kB / 329.1 MB, free: 3.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.764e-05/0.004239, allocations: 27.91 kB / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.228e-05/0.004251, allocations: 0 / 329.1 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.333e-05/0.004314, allocations: 32 kB / 329.2 MB, free: 3.918 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.246e-05/0.004357, allocations: 27.84 kB / 329.2 MB, free: 3.891 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.004386, allocations: 23.92 kB / 329.2 MB, free: 3.867 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.004523, allocations: 111.5 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.342e-06/0.004524, allocations: 0 / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.61e-07/0.004525, allocations: 0 / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.955e-06/0.004528, allocations: 4 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003374/0.004865, allocations: 329.5 kB / 329.7 MB, free: 3.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.838e-05/0.004894, allocations: 12.03 kB / 329.7 MB, free: 3.398 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.811e-05/0.004922, allocations: 8.922 kB / 329.7 MB, free: 3.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.005078, allocations: 158.4 kB / 329.8 MB, free: 3.207 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.005093, allocations: 4.375 kB / 329.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.005103, allocations: 384 / 329.8 MB, free: 3.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.91e-05/0.005202, allocations: 61.7 kB / 329.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.00521, allocations: 4.172 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.005217, allocations: 384 / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.005223, allocations: 7.938 kB / 329.9 MB, free: 3.121 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.29e-05/0.005245, allocations: 15.98 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.322e-05/0.005329, allocations: 62.7 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.005406, allocations: 45.42 kB / 330 MB, free: 2.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.623e-05/0.005423, allocations: 12.84 kB / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.005431, allocations: 0 / 330 MB, free: 2.957 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.926e-05/0.0055, allocations: 62.16 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.005501, allocations: 0 / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 9.63e-05/0.005597, allocations: 57.69 kB / 330.2 MB, free: 2.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.005626, allocations: 59.39 kB / 330.2 MB, free: 2.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.005742, allocations: 216 kB / 330.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.005753, allocations: 29.64 kB / 330.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.005782, allocations: 100.1 kB / 330.6 MB, free: 2.387 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.005808, allocations: 15.91 kB / 330.6 MB, free: 2.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.005834, allocations: 17.7 kB / 330.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.005909, allocations: 330.7 kB / 330.9 MB, free: 2.016 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.329e-05/0.005923, allocations: 6.828 kB / 330.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.069e-05/0.005943, allocations: 25.69 kB / 330.9 MB, free: 1.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.719e-05/0.005981, allocations: 39.36 kB / 331 MB, free: 1.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.005983, allocations: 0 / 331 MB, free: 1.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.847e-05/0.006041, allocations: 56.77 kB / 331 MB, free: 1.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.034e-05/0.006052, allocations: 4 kB / 331 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.006058, allocations: 7.984 kB / 331 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.006069, allocations: 0 / 331 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.925e-05/0.006118, allocations: 12 kB / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.495e-06/0.006121, allocations: 0 / 331.1 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.00615, allocations: 11.94 kB / 331.1 MB, free: 1.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.006155, allocations: 0 / 331.1 MB, free: 1.832 MB / 298.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.204e-05/0.006217, allocations: 124.6 kB / 331.2 MB, free: 1.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-06/0.006227, allocations: 8 kB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.006304, allocations: 66.77 kB / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.006306, allocations: 0 / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.006308, allocations: 0 / 331.3 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.006314, allocations: 11.92 kB / 331.3 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.314e-05/0.006387, allocations: 85.86 kB / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.006388, allocations: 0 / 331.4 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.287e-05/0.006401, allocations: 4 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-07/0.006402, allocations: 0 / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.61e-06/0.006407, allocations: 7.984 kB / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-07/0.006408, allocations: 0 / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006409, allocations: 0 / 331.4 MB, free: 1.496 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.253e-05/0.006471, allocations: 98.62 kB / 331.5 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.006485, allocations: 11.91 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.006497, allocations: 0 / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.827e-05/0.006516, allocations: 4 kB / 331.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.003e-05/0.006536, allocations: 7.984 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.006547, allocations: 4 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.052e-05/0.006597, allocations: 72.73 kB / 331.6 MB, free: 1.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006597, allocations: 4 kB / 331.6 MB, free: 1.273 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001126/0.00671, allocations: 23.98 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001026/0.007736, allocations: 0.4926 MB / 332.1 MB, free: 1 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.697e-05/0.007813, allocations: 40.72 kB / 332.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.007818, allocations: 4 kB / 332.1 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.413e-05/0.007842, allocations: 16.84 kB / 332.1 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001265/0.007968, allocations: 31.97 kB / 332.2 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003012/0.008269, allocations: 231.5 kB / 332.4 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.687e-05/0.008306, allocations: 71.33 kB / 332.5 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.945e-05/0.008336, allocations: 16.47 kB / 332.5 MB, free: 0.543 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.428e-05/0.00839, allocations: 59.39 kB / 332.5 MB, free: 496 kB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008391, allocations: 0 / 332.5 MB, free: 496 kB / 298.7 MB Notification: Performance of Templates: time 0.003238/0.01163, allocations: 1.787 MB / 334.3 MB, free: 14.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.911062086932361]