Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.000989/0.000989, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001143/0.001143, allocations: 160.9 kB / 24.99 MB, free: 8.801 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 1.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.629 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.2776/0.2776, allocations: 34.87 MB / 296.6 MB, free: 0.5703 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.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 378.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.953e-05, allocations: 6.25 kB / 378.8 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002442/0.002472, allocations: 1.748 MB / 380.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001501/0.003973, allocations: 1.016 MB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.194e-05/0.004055, allocations: 3.938 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.004368, allocations: 47.7 kB / 381.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002917/0.004659, allocations: 107.5 kB / 381.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.004833, allocations: 79.66 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.005008, allocations: 107.6 kB / 381.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.005119, allocations: 11.98 kB / 382 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.472e-05/0.005204, allocations: 47.89 kB / 382 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.219e-05/0.005276, allocations: 27.86 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.005297, allocations: 7.984 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.061e-05/0.005388, allocations: 43.92 kB / 382.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.005445, allocations: 23.92 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.005499, allocations: 15.94 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.005708, allocations: 123.5 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005711, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.61e-07/0.005712, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.005717, allocations: 0 / 382.2 MB, free: 14.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005342/0.006251, allocations: 459.8 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.006291, allocations: 12.03 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.006343, allocations: 16.84 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.006522, allocations: 157.2 kB / 382.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/0.006541, allocations: 4.359 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.006564, allocations: 8.375 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.006707, allocations: 70.88 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.006718, allocations: 192 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.00673, allocations: 8.359 kB / 383 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.00674, allocations: 3.938 kB / 383 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.526e-05/0.006775, allocations: 8 kB / 383 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003199/0.007095, allocations: 291.8 kB / 383.3 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.007212, allocations: 59.09 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.052e-05/0.007243, allocations: 11.69 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.007256, allocations: 4 kB / 383.3 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001102/0.007366, allocations: 76.98 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.007367, allocations: 0 / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004246/0.007792, allocations: 161.3 kB / 383.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.007829, allocations: 51.41 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.008002, allocations: 259.1 kB / 383.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.008018, allocations: 25.7 kB / 383.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.065e-05/0.008089, allocations: 158.9 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.976e-05/0.008119, allocations: 31.72 kB / 384.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.869e-05/0.008157, allocations: 31.38 kB / 384.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.008296, allocations: 0.4962 MB / 384.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.92e-05/0.008326, allocations: 15.98 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.335e-05/0.008369, allocations: 35.36 kB / 384.7 MB, free: 12.3 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.464e-05/0.008434, allocations: 47.36 kB / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.008435, allocations: 0 / 384.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000125/0.00856, allocations: 97.47 kB / 384.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.008575, allocations: 4 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.008581, allocations: 3.984 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.008597, allocations: 0 / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.509e-05/0.008682, allocations: 23.94 kB / 384.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.008687, allocations: 4.031 kB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.822e-05/0.008715, allocations: 0 / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.008722, allocations: 4 kB / 384.8 MB, free: 12.11 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 (10): * Single equations (assignments): 10 * 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 8.378e-05/0.008805, allocations: 167 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.008824, allocations: 19.84 kB / 385 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.00899, allocations: 107.1 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.008992, allocations: 0 / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.008996, allocations: 0 / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.009, allocations: 3.938 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.009308, allocations: 405.3 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.00931, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.231e-05/0.009342, allocations: 19.98 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.009345, allocations: 0 / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.009354, allocations: 4 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.009357, allocations: 4 kB / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.009358, allocations: 0 / 385.5 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.009509, allocations: 259.4 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.009523, allocations: 11.91 kB / 385.8 MB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.009543, allocations: 3.984 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.532e-05/0.009588, allocations: 8 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.009622, allocations: 12.02 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.009636, allocations: 7.938 kB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.009723, allocations: 179.2 kB / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009723, allocations: 0 / 386 MB, free: 10.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001907/0.009914, allocations: 27.92 kB / 386 MB, free: 10.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001226/0.01114, allocations: 431.2 kB / 386.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001261/0.01127, allocations: 55.53 kB / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01127, allocations: 0 / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.01131, allocations: 35.73 kB / 386.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.01155, allocations: 29.8 kB / 386.6 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.01198, allocations: 241.5 kB / 386.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.01203, allocations: 71.33 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.751e-05/0.01207, allocations: 17.28 kB / 386.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.01211, allocations: 24.48 kB / 386.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01211, allocations: 4.062 kB / 386.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of Templates: time 0.004381/0.01649, allocations: 1.881 MB / 388.8 MB, free: 8.137 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.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.131829201010987]