Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.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.00153/0.00153, 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.001711/0.001711, allocations: 160.4 kB / 24.99 MB, free: 8.77 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.9914/0.9914, allocations: 177 MB / 205.2 MB, free: 5.598 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.2507/0.2507, allocations: 34.87 MB / 296.6 MB, free: 0.5469 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.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.434e-06/2.434e-06, allocations: 0 / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.862e-05/4.106e-05, allocations: 4.562 kB / 378.8 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.003201/0.003242, allocations: 1.634 MB / 380.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.004594, allocations: 1.277 MB / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.535e-05/0.00467, allocations: 0 / 381.7 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.004913, allocations: 27.78 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.005214, allocations: 87.55 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.00545, allocations: 115.6 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.005611, allocations: 67.78 kB / 382 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.005731, allocations: 23.77 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.005799, allocations: 27.92 kB / 382 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.00592, allocations: 31.83 kB / 382 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.005938, allocations: 4 kB / 382.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.006073, allocations: 87.89 kB / 382.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.943e-05/0.006123, allocations: 15.92 kB / 382.2 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.006155, allocations: 11.98 kB / 382.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.006371, allocations: 135.5 kB / 382.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.006377, allocations: 8 kB / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.006379, allocations: 0 / 382.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.006383, allocations: 0 / 382.3 MB, free: 14.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004487/0.006832, allocations: 428 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.006875, allocations: 8.031 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.946e-05/0.006925, allocations: 8.891 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.007088, allocations: 140.4 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.007098, allocations: 384 / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/0.007122, allocations: 8.375 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.007273, allocations: 108 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.007282, allocations: 4.188 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.007293, allocations: 384 / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.007302, allocations: 4.375 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.193e-05/0.007334, allocations: 7.938 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.007623, allocations: 275.8 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.007786, allocations: 42.98 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.166e-05/0.007808, allocations: 15.69 kB / 383.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.007832, allocations: 4.078 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.007856, allocations: 33.39 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.007857, allocations: 4 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003437/0.008201, allocations: 109.3 kB / 383.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.00824, allocations: 77.11 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.008363, allocations: 193.9 kB / 383.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.008373, allocations: 25.7 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.008422, allocations: 142.9 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.05e-05/0.008443, allocations: 19.86 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.008475, allocations: 27.36 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.008583, allocations: 496.1 kB / 384.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/0.008603, allocations: 11.98 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.352e-05/0.008636, allocations: 49.08 kB / 384.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.698e-05/0.008673, allocations: 27.62 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.008675, allocations: 3.984 kB / 384.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.328e-05/0.008748, allocations: 57.64 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.008761, allocations: 4 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.008769, allocations: 0 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.008782, allocations: 0 / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.446e-05/0.008827, allocations: 15.98 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.008832, allocations: 256 / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.008853, allocations: 3.953 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.008861, allocations: 8 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.476e-05/0.008925, allocations: 172.5 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.008947, allocations: 15.89 kB / 384.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.009062, allocations: 66.08 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.009065, allocations: 0 / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.00907, allocations: 0 / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.009076, allocations: 3.984 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.009306, allocations: 329.3 kB / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.009307, allocations: 0 / 385.2 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/0.009337, allocations: 8.281 kB / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.009339, allocations: 0 / 385.2 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.009348, allocations: 8 kB / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.009349, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.00935, allocations: 0 / 385.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.009454, allocations: 211.8 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-06/0.009464, allocations: 11.94 kB / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.263e-05/0.009477, allocations: 0 / 385.4 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.441e-05/0.009511, allocations: 4 kB / 385.4 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.009539, allocations: 7.922 kB / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.009542, allocations: 0 / 385.4 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.112e-05/0.009603, allocations: 153.7 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009603, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000202/0.009805, allocations: 43.86 kB / 385.6 MB, free: 11.15 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001065/0.01087, allocations: 485.8 kB / 386.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.01097, allocations: 23.69 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01097, allocations: 4 kB / 386.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.011, allocations: 27.61 kB / 386.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002171/0.01122, allocations: 19.92 kB / 386.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.01153, allocations: 177.8 kB / 386.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.68e-05/0.01157, allocations: 63.34 kB / 386.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.512e-05/0.01161, allocations: 11.98 kB / 386.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.01165, allocations: 20.48 kB / 386.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.733e-06/0.01165, allocations: 4 kB / 386.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003586/0.01524, allocations: 1.839 MB / 388.3 MB, free: 8.586 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test20/Test20.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.1287088310346007]