Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.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.001283/0.001283, allocations: 81.91 kB / 21.42 MB, free: 3.07 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.00124/0.00124, allocations: 164.7 kB / 24.82 MB, free: 9.273 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.012/1.012, allocations: 177 MB / 205.1 MB, free: 5.461 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.2502/0.2502, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 379.3 MB, free: 1.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.373e-05, allocations: 2.312 kB / 379.3 MB, free: 1.746 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002322/0.002346, allocations: 1.767 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.003503, allocations: 1.001 MB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.932e-05/0.003582, allocations: 4 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002714/0.003853, allocations: 43.69 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.004116, allocations: 99.48 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.004274, allocations: 75.61 kB / 382.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.004418, allocations: 111.7 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.889e-05/0.004497, allocations: 4 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.423e-05/0.004582, allocations: 59.77 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.721e-05/0.004649, allocations: 27.91 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.004663, allocations: 4 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.723e-05/0.00474, allocations: 43.92 kB / 382.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.277e-05/0.004783, allocations: 23.92 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.438e-05/0.004817, allocations: 23.91 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.004967, allocations: 95.59 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.00497, allocations: 4 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004971, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.004975, allocations: 4 kB / 382.7 MB, free: 14.34 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.0003796/0.005354, allocations: 451.8 kB / 383.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.005388, allocations: 12.03 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.005421, allocations: 12.84 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.005554, allocations: 153.1 kB / 383.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.005567, allocations: 4.375 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.005582, allocations: 384 / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.005682, allocations: 62.94 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.00569, allocations: 192 / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.741e-06/0.005695, allocations: 384 / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.005701, allocations: 7.938 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.494e-05/0.005726, allocations: 15.92 kB / 383.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002202/0.005946, allocations: 264.3 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.121e-05/0.006028, allocations: 43.17 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.006051, allocations: 23.66 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.006066, allocations: 4 kB / 383.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/0.006148, allocations: 64.98 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.00615, allocations: 0 / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002973/0.006447, allocations: 137.4 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.006472, allocations: 51.41 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.006587, allocations: 230.3 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.408e-05/0.006602, allocations: 33.7 kB / 384.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.006655, allocations: 150.8 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.00668, allocations: 23.78 kB / 384.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.006714, allocations: 31.36 kB / 384.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.006831, allocations: 0.5001 MB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.00685, allocations: 8 kB / 384.9 MB, free: 11.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.404e-05/0.006874, allocations: 27.36 kB / 385 MB, free: 11.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.006922, allocations: 55.28 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.006923, allocations: 0 / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.422e-05/0.007017, allocations: 89.84 kB / 385.1 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.00703, allocations: 8 kB / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.007033, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.929e-06/0.007043, allocations: 0 / 385.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.19e-05/0.007105, allocations: 19.98 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.035e-06/0.007108, allocations: 4 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.633e-05/0.007135, allocations: 0 / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.00714, allocations: 8.031 kB / 385.1 MB, free: 11.67 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 7.614e-05/0.007216, allocations: 159 kB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.611e-05/0.007232, allocations: 19.84 kB / 385.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.007364, allocations: 107 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007367, allocations: 4 kB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007368, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.007371, allocations: 0 / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.007612, allocations: 361.6 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.007615, allocations: 4 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.00764, allocations: 11.97 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.007642, allocations: 4 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.007647, allocations: 3.938 kB / 385.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007649, allocations: 7.984 kB / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007651, allocations: 0 / 385.8 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.007784, allocations: 255.4 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.007794, allocations: 7.953 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.007809, allocations: 8 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.96e-05/0.007849, allocations: 0 / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.007872, allocations: 7.984 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.007883, allocations: 4 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.979e-05/0.007943, allocations: 163.1 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007943, allocations: 0 / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.008187, allocations: 31.92 kB / 386.3 MB, free: 10.46 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.0008974/0.009084, allocations: 433.8 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.009189, allocations: 43.59 kB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.00919, allocations: 0 / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.914e-05/0.009229, allocations: 35.59 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.009466, allocations: 43.62 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.009795, allocations: 210 kB / 387 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.289e-05/0.009838, allocations: 71.33 kB / 387.1 MB, free: 9.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.502e-05/0.009873, allocations: 17.27 kB / 387.1 MB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.895e-05/0.009942, allocations: 94.19 kB / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.009943, allocations: 0 / 387.2 MB, free: 9.594 MB / 362.7 MB Notification: Performance of Templates: time 0.003455/0.0134, allocations: 2.037 MB / 389.2 MB, free: 7.59 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.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: 2.970163438934833]