Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.001006/0.001006, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001001/0.001001, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9918/0.9918, allocations: 177 MB / 204.8 MB, free: 5.57 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.2924/0.2924, allocations: 34.86 MB / 296.3 MB, free: 0.543 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 378.8 MB, free: 2.074 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.612e-05/2.764e-05, allocations: 4.984 kB / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002261/0.002289, allocations: 1.638 MB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007667/0.003055, allocations: 0.5447 MB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.003112, allocations: 7.938 kB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.003333, allocations: 19.86 kB / 381 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.003595, allocations: 79.55 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.003811, allocations: 107.6 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.003955, allocations: 79.7 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.00406, allocations: 11.86 kB / 381.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.024e-05/0.004121, allocations: 35.89 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.004174, allocations: 11.94 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.004189, allocations: 4 kB / 381.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.257e-05/0.004251, allocations: 27.98 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.004294, allocations: 15.97 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.795e-05/0.004322, allocations: 11.94 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.004459, allocations: 67.75 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.00446, allocations: 0 / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.004462, allocations: 0 / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.004465, allocations: 7.938 kB / 381.4 MB, free: 15.39 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.0003892/0.004855, allocations: 416.1 kB / 381.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.004888, allocations: 8.031 kB / 381.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.00493, allocations: 8.891 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.005062, allocations: 136.5 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.00507, allocations: 384 / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.00509, allocations: 4.375 kB / 382 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.005194, allocations: 54.95 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.005203, allocations: 192 / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.005213, allocations: 4.359 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.005219, allocations: 4.375 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.816e-05/0.005247, allocations: 11.88 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.005515, allocations: 271.8 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.005672, allocations: 47.05 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.038e-05/0.005693, allocations: 7.688 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.005711, allocations: 7.938 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.005731, allocations: 33.39 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.783e-06/0.005732, allocations: 3.984 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003394/0.006072, allocations: 113.4 kB / 382.6 MB, free: 14.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.006099, allocations: 55.41 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.006202, allocations: 197.9 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.418e-06/0.006211, allocations: 25.7 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.00626, allocations: 142.9 kB / 383 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.006279, allocations: 15.8 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.849e-05/0.006308, allocations: 27.38 kB / 383 MB, free: 13.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.006422, allocations: 0.4884 MB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.006439, allocations: 4 kB / 383.5 MB, free: 13.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.65e-05/0.006456, allocations: 11.98 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.00649, allocations: 23.69 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.006491, allocations: 0 / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.494e-05/0.006566, allocations: 73.7 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.006577, allocations: 7.938 kB / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006582, allocations: 0 / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.006593, allocations: 0 / 383.6 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.045e-05/0.006634, allocations: 15.98 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006638, allocations: 0 / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.753e-05/0.006656, allocations: 4 kB / 383.6 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.006662, allocations: 4 kB / 383.6 MB, free: 12.98 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.328e-05/0.006725, allocations: 152.6 kB / 383.8 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.006743, allocations: 11.89 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.006861, allocations: 78.08 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006863, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.006867, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.006869, allocations: 0 / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.007092, allocations: 325.4 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.007093, allocations: 0 / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.788e-05/0.007121, allocations: 11.94 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.007123, allocations: 0 / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/0.007129, allocations: 0 / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.00713, allocations: 4 kB / 384.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.007132, allocations: 4 kB / 384.2 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.007232, allocations: 211.8 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.526e-06/0.007241, allocations: 7.953 kB / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.118e-05/0.007252, allocations: 256 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.829e-05/0.00728, allocations: 0 / 384.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.007313, allocations: 11.98 kB / 384.4 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.007316, allocations: 4 kB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.585e-05/0.007372, allocations: 146.3 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007372, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001519/0.007524, allocations: 16 kB / 384.6 MB, free: 11.95 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.0007589/0.008283, allocations: 381.5 kB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.501e-05/0.008368, allocations: 31.61 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.008369, allocations: 0 / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.314e-05/0.008392, allocations: 23.67 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.008584, allocations: 19.94 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003354/0.00892, allocations: 182.5 kB / 385.2 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.504e-05/0.008965, allocations: 63.34 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.008999, allocations: 11.97 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.169e-05/0.009031, allocations: 20.5 kB / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.009032, allocations: 0 / 385.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of Templates: time 0.00309/0.01212, allocations: 1.25 MB / 386.6 MB, free: 10.04 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.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.126739153172821]