Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.001922/0.001922, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.002129/0.002129, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 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 1.589/1.589, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.4337/0.4337, allocations: 34.25 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.405e-05/3.554e-05, allocations: 4.562 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00344/0.003476, allocations: 1.696 MB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002051/0.005527, allocations: 0.9815 MB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.00561, allocations: 3.938 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003787/0.005989, allocations: 63.73 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000393/0.006382, allocations: 107.6 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.006592, allocations: 79.59 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.006805, allocations: 103.6 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.006848, allocations: 8.219 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.006992, allocations: 63.77 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.007111, allocations: 43.89 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.007135, allocations: 4 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.537e-05/0.00723, allocations: 35.92 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.327e-05/0.007303, allocations: 23.86 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.376e-05/0.007357, allocations: 19.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.007587, allocations: 95.7 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.007591, allocations: 0 / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.007593, allocations: 0 / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.007598, allocations: 0 / 380.6 MB, free: 15.49 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.0007383/0.008336, allocations: 447.5 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.008377, allocations: 12.03 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.008447, allocations: 12.89 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.008751, allocations: 157.1 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.008767, allocations: 384 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.008782, allocations: 4.375 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.008942, allocations: 50.22 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.008953, allocations: 192 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.008964, allocations: 384 / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.008973, allocations: 3.938 kB / 381.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.459e-05/0.009058, allocations: 23.86 kB / 381.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.009342, allocations: 148.7 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.009549, allocations: 59.11 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.705e-05/0.009627, allocations: 19.67 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.009649, allocations: 0 / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.009848, allocations: 72.98 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.009849, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003713/0.01022, allocations: 93.58 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.778e-05/0.01029, allocations: 59.34 kB / 381.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.0106, allocations: 250.4 kB / 382 MB, free: 13.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.01063, allocations: 25.7 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01075, allocations: 158.9 kB / 382.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.859e-05/0.01079, allocations: 11.89 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.01085, allocations: 27.38 kB / 382.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005907/0.01144, allocations: 0.5001 MB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.646e-05/0.01149, allocations: 11.98 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.481e-05/0.01157, allocations: 43.3 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001071/0.01168, allocations: 43.36 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01168, allocations: 0 / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001718/0.01185, allocations: 81.83 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.01188, allocations: 8.031 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.01189, allocations: 4.062 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.01191, allocations: 4 kB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.01201, allocations: 15.92 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.01202, allocations: 0 / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.237e-05/0.01207, allocations: 7.938 kB / 382.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.01208, allocations: 0 / 382.9 MB, free: 12.95 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 0.0001691/0.01225, allocations: 164.6 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.112e-05/0.01228, allocations: 15.91 kB / 383.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.01255, allocations: 94.75 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01255, allocations: 4 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.01256, allocations: 3.938 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.01257, allocations: 0 / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.01278, allocations: 148.6 kB / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01279, allocations: 0 / 383.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.923e-05/0.01281, allocations: 4 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.01282, allocations: 3.938 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.601e-05/0.01283, allocations: 8 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.01283, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01284, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.01308, allocations: 132.2 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.01311, allocations: 7.953 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.01313, allocations: 11.98 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.01317, allocations: 0 / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.01322, allocations: 7.938 kB / 383.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.01324, allocations: 3.984 kB / 383.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.01344, allocations: 179.2 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01344, allocations: 0 / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000219/0.01366, allocations: 15.94 kB / 383.7 MB, free: 12.09 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.002999/0.01666, allocations: 424.9 kB / 384.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002183/0.01688, allocations: 59.58 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01688, allocations: 0 / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.163e-05/0.01696, allocations: 31.67 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.01729, allocations: 27.91 kB / 384.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006009/0.01789, allocations: 210.1 kB / 384.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.01801, allocations: 93.38 kB / 384.5 MB, free: 11.35 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.217e-05/0.01806, allocations: 16.81 kB / 384.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.01811, allocations: 20.42 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01811, allocations: 0 / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of Templates: time 0.006523/0.02463, allocations: 1.627 MB / 386.2 MB, free: 9.703 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.169744443031959]