Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.001035/0.001035, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001019/0.001019, allocations: 159.4 kB / 24.99 MB, free: 8.297 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.9677/0.9677, allocations: 177 MB / 205.2 MB, free: 5.586 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.2726/0.2726, allocations: 34.86 MB / 296.6 MB, free: 0.4961 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.384e-05/2.514e-05, allocations: 7.297 kB / 378.8 MB, free: 2.309 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002435/0.00246, allocations: 1.71 MB / 380.5 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001215/0.003674, allocations: 0.997 MB / 381.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.003764, allocations: 0 / 381.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.0041, allocations: 59.69 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003891/0.004489, allocations: 107.5 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.004667, allocations: 75.61 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.00481, allocations: 99.69 kB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.004848, allocations: 4.234 kB / 381.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.118e-05/0.004929, allocations: 63.75 kB / 381.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.955e-05/0.005009, allocations: 43.89 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.005023, allocations: 4 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.005089, allocations: 31.92 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.005137, allocations: 23.92 kB / 382 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.328e-05/0.00517, allocations: 11.94 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.005323, allocations: 83.72 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.005326, allocations: 4 kB / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005327, allocations: 0 / 382.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.005335, allocations: 0 / 382.1 MB, free: 14.98 MB / 362.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.000454/0.005789, allocations: 443.8 kB / 382.6 MB, free: 14.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.005826, allocations: 12.03 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.005875, allocations: 8.891 kB / 382.6 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.006048, allocations: 146.7 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.006067, allocations: 384 / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.006077, allocations: 4.375 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.006197, allocations: 58.94 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.006203, allocations: 192 / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.095e-06/0.006212, allocations: 384 / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.006221, allocations: 3.938 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.551e-05/0.006257, allocations: 11.98 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.006421, allocations: 144.5 kB / 383 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.006521, allocations: 55.05 kB / 383 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.773e-05/0.006549, allocations: 15.67 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.006563, allocations: 4 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.239e-05/0.006655, allocations: 65.05 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.006656, allocations: 4 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00017/0.006827, allocations: 77.58 kB / 383.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.006857, allocations: 55.34 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/0.006974, allocations: 230.6 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.006985, allocations: 33.7 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.00703, allocations: 150.9 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.007056, allocations: 7.906 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.007084, allocations: 27.38 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.007188, allocations: 0.4962 MB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.007207, allocations: 7.984 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.481e-05/0.007232, allocations: 23.38 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.007285, allocations: 43.3 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.007286, allocations: 3.938 kB / 384.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.429e-05/0.007361, allocations: 77.58 kB / 384.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/0.007372, allocations: 4 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.007376, allocations: 0 / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.007387, allocations: 4 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.007442, allocations: 11.94 kB / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.007446, allocations: 0 / 384.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.79e-05/0.007474, allocations: 7.953 kB / 384.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-06/0.007478, allocations: 0 / 384.3 MB, free: 12.55 MB / 362.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.312e-05/0.007542, allocations: 164.6 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/0.007555, allocations: 11.95 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001064/0.007661, allocations: 90.78 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.007663, allocations: 384 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.007667, allocations: 3.938 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.00767, allocations: 0 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.275e-05/0.007753, allocations: 152.5 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.007754, allocations: 0 / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.353e-05/0.007767, allocations: 4 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.007769, allocations: 4 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.007777, allocations: 3.984 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-07/0.007777, allocations: 0 / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007778, allocations: 4 kB / 384.8 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.556e-05/0.007864, allocations: 124.2 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.007876, allocations: 11.94 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.00789, allocations: 0 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.671e-05/0.007906, allocations: 0 / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.028e-05/0.007937, allocations: 15.92 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.007947, allocations: 4 kB / 384.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.409e-05/0.008011, allocations: 160.8 kB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008011, allocations: 0 / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.008154, allocations: 20 kB / 385.1 MB, free: 11.72 MB / 362.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.0008079/0.008962, allocations: 378.7 kB / 385.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.815e-05/0.00906, allocations: 39.61 kB / 385.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.009061, allocations: 0 / 385.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.009093, allocations: 31.73 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.009273, allocations: 23.92 kB / 385.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.009565, allocations: 190.2 kB / 385.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.084e-05/0.009596, allocations: 63.34 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.107e-05/0.009627, allocations: 20.7 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.009653, allocations: 16.5 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.009653, allocations: 0 / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of Templates: time 0.00308/0.01273, allocations: 1.656 MB / 387.5 MB, free: 9.395 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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: 3.117705278098583]