Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0009828/0.0009828, allocations: 84.34 kB / 22.21 MB, free: 2.285 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.001277/0.001277, allocations: 166.8 kB / 25.61 MB, free: 8.582 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.057/1.057, allocations: 177 MB / 205.9 MB, free: 4.465 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.1578/0.1578, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.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.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/3.689e-05, allocations: 6.141 kB / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003227/0.003264, allocations: 1.644 MB / 381.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.004305, allocations: 0.533 MB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.877e-05/0.004404, allocations: 0 / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.00477, allocations: 75.7 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.005155, allocations: 107.5 kB / 382.4 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.005461, allocations: 87.64 kB / 382.5 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.005643, allocations: 95.73 kB / 382.6 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.005759, allocations: 8 kB / 382.6 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.588e-05/0.005845, allocations: 47.88 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.005975, allocations: 51.88 kB / 382.7 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.005995, allocations: 8 kB / 382.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.006105, allocations: 43.86 kB / 382.7 MB, free: 20.01 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.344e-05/0.006179, allocations: 27.91 kB / 382.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.04e-05/0.006209, allocations: 15.94 kB / 382.8 MB, free: 19.97 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.006407, allocations: 87.66 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.006411, allocations: 3.938 kB / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.006412, allocations: 0 / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.006417, allocations: 0 / 382.9 MB, free: 19.88 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004833/0.006901, allocations: 443.9 kB / 383.3 MB, free: 19.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.00695, allocations: 8.031 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.007, allocations: 20.78 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.007177, allocations: 146.5 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.00719, allocations: 384 / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.00721, allocations: 4.375 kB / 383.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.007332, allocations: 66.91 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.007344, allocations: 192 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.007353, allocations: 384 / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.00736, allocations: 4.375 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.134e-05/0.007391, allocations: 7.938 kB / 383.5 MB, free: 19.12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002944/0.007685, allocations: 268.3 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.976e-05/0.007755, allocations: 47.05 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.764e-05/0.007773, allocations: 11.69 kB / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.007792, allocations: 0 / 383.9 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.007812, allocations: 37.47 kB / 383.9 MB, free: 18.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.222e-06/0.007813, allocations: 3.938 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006489/0.008462, allocations: 157.7 kB / 384.1 MB, free: 18.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.008493, allocations: 55.34 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.008634, allocations: 230.8 kB / 384.3 MB, free: 18.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.829e-06/0.008643, allocations: 25.7 kB / 384.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.008698, allocations: 162.8 kB / 384.5 MB, free: 18.04 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.00873, allocations: 35.72 kB / 384.6 MB, free: 18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.008771, allocations: 23.38 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.941e-05/0.00884, allocations: 0.4962 MB / 385.1 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.18e-05/0.008862, allocations: 11.98 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.00888, allocations: 4 kB / 385.1 MB, free: 17.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.163e-05/0.008932, allocations: 31.67 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.008933, allocations: 0 / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000116/0.009049, allocations: 81.5 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.009066, allocations: 4 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.009074, allocations: 8 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.009086, allocations: 0 / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.009176, allocations: 12.05 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.00918, allocations: 0 / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.009209, allocations: 11.97 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.009215, allocations: 0 / 385.2 MB, free: 17.29 MB / 314.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 (8): * Single equations (assignments): 8 * 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.063e-05/0.009276, allocations: 164.5 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.009312, allocations: 15.84 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001629/0.009475, allocations: 83.44 kB / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.009479, allocations: 0 / 385.5 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.009485, allocations: 15.98 kB / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.00949, allocations: 0 / 385.5 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003531/0.009843, allocations: 341.6 kB / 385.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.009846, allocations: 0 / 385.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.009919, allocations: 15.98 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.009925, allocations: 4 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.009932, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.009936, allocations: 3.938 kB / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.009938, allocations: 0 / 385.9 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.01008, allocations: 235.4 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.618e-05/0.01009, allocations: 19.94 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.01011, allocations: 0 / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.01018, allocations: 7.938 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.01021, allocations: 7.984 kB / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.01022, allocations: 0 / 386.1 MB, free: 16.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.259e-05/0.01029, allocations: 163.1 kB / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01029, allocations: 0 / 386.3 MB, free: 16.16 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.01056, allocations: 23.94 kB / 386.3 MB, free: 16.13 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.00128/0.01184, allocations: 436.2 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001227/0.01197, allocations: 31.67 kB / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01197, allocations: 0 / 386.8 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.523e-05/0.012, allocations: 31.59 kB / 386.8 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003327/0.01234, allocations: 32.22 kB / 386.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.01274, allocations: 223.8 kB / 387.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.452e-05/0.01279, allocations: 67.2 kB / 387.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.972e-05/0.01284, allocations: 20.78 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.01291, allocations: 78.2 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.01291, allocations: 0 / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of Templates: time 0.003403/0.01631, allocations: 1.528 MB / 388.7 MB, free: 13.84 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.37851643236354]