Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.0009371/0.0009371, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001079/0.001079, allocations: 164.9 kB / 24.99 MB, free: 8.219 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 0.9896/0.9896, allocations: 177 MB / 205.2 MB, free: 5.531 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.267/0.267, allocations: 34.86 MB / 296.6 MB, free: 0.5352 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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 378.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.352e-05, allocations: 2.312 kB / 378.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002011/0.002025, allocations: 1.766 MB / 380.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001173/0.003198, allocations: 1.007 MB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.003274, allocations: 0 / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.003537, allocations: 55.52 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.003804, allocations: 95.53 kB / 381.8 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.003976, allocations: 83.61 kB / 381.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.004119, allocations: 103.6 kB / 381.9 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.004202, allocations: 8 kB / 381.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.901e-05/0.004281, allocations: 59.75 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.004343, allocations: 23.92 kB / 382 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.004356, allocations: 8 kB / 382 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.61e-05/0.004433, allocations: 47.91 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.077e-05/0.004483, allocations: 23.92 kB / 382.1 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.004517, allocations: 19.92 kB / 382.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.004675, allocations: 107.5 kB / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.004677, allocations: 0 / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004678, allocations: 0 / 382.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.004681, allocations: 0 / 382.2 MB, free: 14.9 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.0004232/0.005105, allocations: 451.8 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003094/0.008199, allocations: 8.031 kB / 382.7 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.008338, allocations: 12.89 kB / 382.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.008682, allocations: 160.9 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.226e-05/0.008714, allocations: 4.375 kB / 382.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.008743, allocations: 4.375 kB / 382.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.00897, allocations: 66.88 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.719e-05/0.008987, allocations: 192 / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.009, allocations: 384 / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.009011, allocations: 3.938 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.009081, allocations: 15.98 kB / 382.9 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004714/0.009553, allocations: 283.8 kB / 383.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.009711, allocations: 55.11 kB / 383.3 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.919e-05/0.00976, allocations: 23.61 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.009777, allocations: 0 / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000159/0.009936, allocations: 72.98 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.735e-06/0.009938, allocations: 3.984 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006048/0.01054, allocations: 161.3 kB / 383.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.01059, allocations: 55.41 kB / 383.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.0108, allocations: 233.9 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.896e-05/0.01081, allocations: 25.7 kB / 383.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.624e-05/0.01089, allocations: 162.8 kB / 384 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.01093, allocations: 27.78 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.339e-05/0.01098, allocations: 31.38 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.01112, allocations: 0.4923 MB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.283e-05/0.01116, allocations: 15.98 kB / 384.6 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.212e-05/0.01122, allocations: 39.3 kB / 384.6 MB, free: 12.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.479e-05/0.01129, allocations: 43.38 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01129, allocations: 0 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001566/0.01145, allocations: 93.5 kB / 384.7 MB, free: 12.17 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.01147, allocations: 8.031 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01147, allocations: 0 / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.01149, allocations: 7.984 kB / 384.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.01159, allocations: 12 kB / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.0116, allocations: 0 / 384.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.197e-05/0.01165, allocations: 11.95 kB / 384.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.01166, allocations: 384 / 384.8 MB, free: 12.13 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 9.746e-05/0.01176, allocations: 168.5 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.929e-05/0.01179, allocations: 15.89 kB / 385 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.01202, allocations: 107.1 kB / 385.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01202, allocations: 4 kB / 385.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.01203, allocations: 4 kB / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.01203, allocations: 0 / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.01246, allocations: 397 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01246, allocations: 0 / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.699e-05/0.01251, allocations: 11.98 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.01251, allocations: 0 / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01252, allocations: 4 kB / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.01252, allocations: 0 / 385.5 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.01252, allocations: 3.938 kB / 385.5 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.01275, allocations: 259.5 kB / 385.7 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.01277, allocations: 11.91 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.0128, allocations: 8 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.806e-05/0.01288, allocations: 3.984 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.031e-05/0.01292, allocations: 4 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.01294, allocations: 7.984 kB / 385.8 MB, free: 11.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001238/0.01306, allocations: 180.2 kB / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01306, allocations: 0 / 385.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002752/0.01334, allocations: 27.94 kB / 386 MB, free: 10.86 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.001293/0.01463, allocations: 443.3 kB / 386.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.0148, allocations: 51.55 kB / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0148, allocations: 0 / 386.4 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.562e-05/0.01486, allocations: 27.67 kB / 386.5 MB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.01522, allocations: 35.97 kB / 386.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004772/0.0157, allocations: 225.8 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.685e-05/0.01576, allocations: 71.33 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.754e-05/0.01579, allocations: 17.41 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.388e-05/0.01583, allocations: 20.48 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01583, allocations: 0 / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of Templates: time 0.003393/0.01922, allocations: 1.876 MB / 388.7 MB, free: 8.195 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.10515151405707]