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.002388/0.002388, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.00258/0.00258, allocations: 160.8 kB / 24.27 MB, free: 152 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.613/1.613, allocations: 177 MB / 204.4 MB, free: 5.617 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.3751/0.3751, allocations: 34.24 MB / 295.2 MB, free: 0.6562 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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 377.3 MB, free: 2.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.475e-05/2.59e-05, allocations: 8.703 kB / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003078/0.003104, allocations: 1.673 MB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001885/0.004989, allocations: 0.9814 MB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.005052, allocations: 4 kB / 380 MB, free: 132 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.00534, allocations: 47.75 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.0057, allocations: 115.6 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.005897, allocations: 75.61 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001838/0.006081, allocations: 99.58 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.495e-05/0.006116, allocations: 4.172 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.006235, allocations: 59.77 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.181e-05/0.006316, allocations: 27.91 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.006338, allocations: 4 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.105e-05/0.006419, allocations: 24 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.006498, allocations: 39.83 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.006546, allocations: 15.94 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002153/0.006761, allocations: 119.6 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.006763, allocations: 0 / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006764, allocations: 0 / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.006768, allocations: 0 / 380.6 MB, free: 15.51 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.0006401/0.007408, allocations: 483.3 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.00745, allocations: 8.031 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.007507, allocations: 16.84 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.007762, allocations: 165.3 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.007778, allocations: 4.375 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.007789, allocations: 4.375 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.007916, allocations: 50.23 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.007925, allocations: 192 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.007933, allocations: 384 / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.007939, allocations: 3.938 kB / 381.3 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/0.008004, allocations: 15.92 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002369/0.008241, allocations: 172.6 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001832/0.008424, allocations: 59.09 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.788e-05/0.008482, allocations: 19.69 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.008498, allocations: 3.938 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.008649, allocations: 72.98 kB / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.00865, allocations: 0 / 381.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003064/0.008956, allocations: 101.6 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/0.009008, allocations: 55.34 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.009328, allocations: 293.6 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.009352, allocations: 29.69 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.009478, allocations: 170.9 kB / 382.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.723e-05/0.009515, allocations: 15.91 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.009561, allocations: 23.38 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002838/0.009845, allocations: 0.5079 MB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.886e-05/0.009894, allocations: 11.98 kB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.775e-05/0.009961, allocations: 43.3 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.904e-05/0.01006, allocations: 39.38 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01006, allocations: 0 / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001708/0.01023, allocations: 89.53 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.01025, allocations: 4 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.01025, allocations: 0 / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.01026, allocations: 0 / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.803e-05/0.01034, allocations: 15.92 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01034, allocations: 4 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.01039, allocations: 8.031 kB / 383 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.0104, allocations: 4 kB / 383 MB, free: 12.83 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.0003377/0.01074, allocations: 160.6 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.01077, allocations: 19.89 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.01099, allocations: 95.08 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01099, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.011, allocations: 8 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.011, allocations: 0 / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001991/0.0112, allocations: 176.5 kB / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.0112, allocations: 0 / 383.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.85e-05/0.01123, allocations: 8 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.01124, allocations: 4 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.01124, allocations: 0 / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01124, allocations: 0 / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.01125, allocations: 3.984 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002271/0.01147, allocations: 140.1 kB / 383.6 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.0115, allocations: 15.92 kB / 383.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.01153, allocations: 4 kB / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.577e-05/0.01156, allocations: 0 / 383.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.0116, allocations: 11.92 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.01162, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.01181, allocations: 208.5 kB / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01181, allocations: 0 / 383.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002116/0.01202, allocations: 20 kB / 383.9 MB, free: 11.9 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.002897/0.01492, allocations: 422.8 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001901/0.01511, allocations: 55.59 kB / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.01511, allocations: 0 / 384.4 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.908e-05/0.01518, allocations: 23.67 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.01548, allocations: 39.55 kB / 384.4 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005027/0.01598, allocations: 242.6 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.0161, allocations: 101.7 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.482e-05/0.01614, allocations: 12.48 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.01618, allocations: 20.44 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01618, allocations: 3.938 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.005259/0.02144, allocations: 1.669 MB / 386.5 MB, free: 9.438 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test61.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.064269150025211]