Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.002249/0.002249, allocations: 99.53 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.002536/0.002536, allocations: 164.8 kB / 24.27 MB, free: 148 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.555/1.555, allocations: 177 MB / 204.4 MB, free: 5.605 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.3349/0.3349, allocations: 34.26 MB / 295.2 MB, free: 0.6367 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.972e-05, allocations: 2.312 kB / 377.3 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003348/0.003378, allocations: 1.691 MB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.005608, allocations: 0.9776 MB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.005713, allocations: 3.938 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004248/0.006138, allocations: 55.8 kB / 380 MB, free: 60 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000567/0.006705, allocations: 103.6 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002927/0.006998, allocations: 75.59 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002686/0.007266, allocations: 95.59 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.454e-05/0.007331, allocations: 12.16 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000179/0.00751, allocations: 59.77 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.007616, allocations: 23.92 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.007645, allocations: 4 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.007772, allocations: 31.97 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.943e-05/0.007861, allocations: 31.86 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.552e-05/0.007927, allocations: 15.94 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003367/0.008264, allocations: 119.5 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.008272, allocations: 4 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.008273, allocations: 3.938 kB / 380.6 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.008279, allocations: 4 kB / 380.6 MB, free: 15.48 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.0008895/0.009169, allocations: 467.4 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.009216, allocations: 16.03 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.864e-05/0.009295, allocations: 12.84 kB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.009648, allocations: 165.3 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.009667, allocations: 4.375 kB / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.00968, allocations: 384 / 381.2 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.00986, allocations: 50.23 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.009872, allocations: 192 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.009885, allocations: 384 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.009894, allocations: 3.938 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.01, allocations: 19.92 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003034/0.0103, allocations: 160.6 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.01056, allocations: 63.09 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/0.01064, allocations: 19.69 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.01066, allocations: 3.938 kB / 381.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.01088, allocations: 72.98 kB / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.01088, allocations: 0 / 381.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000425/0.0113, allocations: 101.6 kB / 381.7 MB, free: 14.21 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.01137, allocations: 55.34 kB / 381.8 MB, free: 14.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004337/0.0118, allocations: 297.6 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.01183, allocations: 29.7 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.01202, allocations: 174.9 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.102e-05/0.01207, allocations: 15.89 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.01214, allocations: 27.38 kB / 382.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003969/0.01254, allocations: 0.5079 MB / 382.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.651e-05/0.0126, allocations: 12 kB / 382.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.814e-05/0.0127, allocations: 39.3 kB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.01285, allocations: 43.38 kB / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.01285, allocations: 0 / 382.9 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002763/0.01313, allocations: 81.53 kB / 383 MB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.01315, allocations: 12.02 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01316, allocations: 4 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.01317, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/0.01329, allocations: 15.94 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.0133, allocations: 0 / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.01338, allocations: 4 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.01338, allocations: 0 / 383 MB, free: 12.82 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.0001848/0.01357, allocations: 168.6 kB / 383.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.01363, allocations: 23.83 kB / 383.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002975/0.01392, allocations: 86.83 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.01393, allocations: 4 kB / 383.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.01393, allocations: 7.938 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01394, allocations: 0 / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.0142, allocations: 172.5 kB / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0142, allocations: 384 / 383.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.01424, allocations: 4 kB / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.01424, allocations: 0 / 383.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.01426, allocations: 7.984 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.01427, allocations: 4 kB / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01427, allocations: 0 / 383.5 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002935/0.01456, allocations: 140.1 kB / 383.6 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.0146, allocations: 15.94 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.01463, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.274e-05/0.01469, allocations: 4 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.01474, allocations: 7.922 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.01476, allocations: 8 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002614/0.01503, allocations: 200.5 kB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01503, allocations: 0 / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003391/0.01537, allocations: 16 kB / 383.9 MB, free: 11.89 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.0036/0.01896, allocations: 431.5 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002519/0.01922, allocations: 59.58 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.01922, allocations: 0 / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.519e-05/0.01931, allocations: 27.69 kB / 384.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.01973, allocations: 27.92 kB / 384.4 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007066/0.02044, allocations: 242.5 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00017/0.02061, allocations: 109.6 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.471e-05/0.02068, allocations: 12.56 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.02074, allocations: 16.5 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02075, allocations: 3.938 kB / 384.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of Templates: time 0.007271/0.02802, allocations: 1.658 MB / 386.5 MB, free: 9.434 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test62.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.139338472974487]