Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 71.77 kB / 21.69 MB, free: 2.859 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 165.8 kB / 24.99 MB, free: 8.336 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2791/0.2791, allocations: 34.26 MB / 296 MB, free: 0.7773 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 378 MB, free: 2.992 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.574e-05, allocations: 5.547 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003506/0.003542, allocations: 1.697 MB / 379.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.005126, allocations: 1.313 MB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.005171, allocations: 0 / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.005312, allocations: 23.84 kB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.005543, allocations: 95.41 kB / 381.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.005805, allocations: 171.5 kB / 381.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.005918, allocations: 83.75 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.315e-05/0.005991, allocations: 11.98 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.284e-05/0.006044, allocations: 47.83 kB / 381.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.238e-05/0.006116, allocations: 23.92 kB / 381.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.006128, allocations: 8 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.006248, allocations: 95.81 kB / 381.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.055e-05/0.006288, allocations: 19.91 kB / 381.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.006316, allocations: 23.92 kB / 381.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.006492, allocations: 143.5 kB / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.006495, allocations: 0 / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.006496, allocations: 0 / 381.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.0065, allocations: 0 / 381.8 MB, free: 15.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003308/0.006831, allocations: 435.9 kB / 382.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.776e-05/0.006858, allocations: 8.031 kB / 382.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.383e-05/0.006892, allocations: 12.89 kB / 382.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.007011, allocations: 140.4 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-06/0.007018, allocations: 4.375 kB / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.007032, allocations: 384 / 382.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.007145, allocations: 112 kB / 382.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.007154, allocations: 8.109 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.007163, allocations: 8.125 kB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.00717, allocations: 4 kB / 382.5 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.007199, allocations: 7.984 kB / 382.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002539/0.007453, allocations: 291.7 kB / 382.8 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.007512, allocations: 42.98 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.143e-05/0.007533, allocations: 15.62 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.007551, allocations: 4 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.00757, allocations: 41.39 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.007571, allocations: 0 / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003266/0.007897, allocations: 129.5 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.007932, allocations: 81.11 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.008042, allocations: 200.1 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.978e-06/0.008052, allocations: 25.7 kB / 383.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.008096, allocations: 138.9 kB / 383.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.008119, allocations: 31.73 kB / 383.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.008148, allocations: 27.38 kB / 383.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.008253, allocations: 0.4884 MB / 384 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.98e-05/0.008273, allocations: 12 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.696e-05/0.008309, allocations: 57.06 kB / 384.1 MB, free: 12.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.629e-05/0.008356, allocations: 43.62 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.008357, allocations: 4 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.243e-05/0.00844, allocations: 65.64 kB / 384.2 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.00845, allocations: 7.938 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/0.008453, allocations: 0 / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.595e-06/0.008461, allocations: 0 / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.289e-05/0.008523, allocations: 19.98 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.008528, allocations: 0 / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.008751, allocations: 16.02 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.008756, allocations: 0 / 384.2 MB, free: 12.54 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 (7): * Single equations (assignments): 7 * 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.716e-05/0.008823, allocations: 164.5 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.008846, allocations: 11.95 kB / 384.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.008969, allocations: 74.45 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.008973, allocations: 4 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.008977, allocations: 3.984 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.00898, allocations: 0 / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.009224, allocations: 341.3 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.009224, allocations: 4 kB / 384.8 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.675e-05/0.009261, allocations: 15.98 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.009262, allocations: 0 / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.343e-06/0.00927, allocations: 4 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.009271, allocations: 480 / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.009272, allocations: 0 / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.009394, allocations: 231.7 kB / 385.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.009403, allocations: 7.953 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.009416, allocations: 4 kB / 385.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.009456, allocations: 7.984 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/0.009481, allocations: 4 kB / 385.1 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.009485, allocations: 4 kB / 385.1 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.038e-05/0.009545, allocations: 153.3 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009545, allocations: 0 / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001874/0.009733, allocations: 43.86 kB / 385.3 MB, free: 11.4 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 (7): * Single equations (assignments): 7 * 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.0008946/0.01063, allocations: 489.1 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.01073, allocations: 51.62 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.01073, allocations: 0 / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.031e-05/0.01076, allocations: 27.62 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.01095, allocations: 34.25 kB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002884/0.01124, allocations: 200.8 kB / 386.1 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.01128, allocations: 63.34 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.967e-05/0.01133, allocations: 24.7 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.01136, allocations: 20.48 kB / 386.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01136, allocations: 0 / 386.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of Templates: time 0.003188/0.01455, allocations: 2.005 MB / 388.2 MB, free: 8.645 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.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.2863033257890493]