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.001479/0.001479, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001253/0.001253, allocations: 166.6 kB / 24.82 MB, free: 8.77 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.128/1.128, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.3146/0.3146, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.944e-06/1.944e-06, allocations: 0 / 378.5 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.741e-05, allocations: 2.312 kB / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.003646/0.003673, allocations: 1.688 MB / 380.2 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.005528, allocations: 1.313 MB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.005661, allocations: 3.938 kB / 381.5 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.005972, allocations: 19.86 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004066/0.006379, allocations: 87.55 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.006797, allocations: 187.4 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.006951, allocations: 71.83 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.007061, allocations: 11.98 kB / 381.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.007135, allocations: 47.78 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001093/0.007244, allocations: 31.95 kB / 382 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.007269, allocations: 7.938 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.007515, allocations: 91.88 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.007596, allocations: 23.92 kB / 382.1 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.053e-05/0.007627, allocations: 15.98 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.007889, allocations: 143.4 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.007894, allocations: 4 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007895, allocations: 0 / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.0079, allocations: 0 / 382.2 MB, free: 14.62 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.0005196/0.00842, allocations: 431.9 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.008469, allocations: 12.03 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.008513, allocations: 12.89 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001622/0.008675, allocations: 148.4 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.008685, allocations: 4.375 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.008706, allocations: 4.375 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.008861, allocations: 108 kB / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.008872, allocations: 192 / 383 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.008884, allocations: 4.125 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.008891, allocations: 4 kB / 383 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.811e-05/0.008919, allocations: 7.984 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003203/0.009239, allocations: 276.3 kB / 383.2 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.07e-05/0.0093, allocations: 35.06 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.886e-05/0.009319, allocations: 15.78 kB / 383.3 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.009344, allocations: 7.969 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.00937, allocations: 41.33 kB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.009371, allocations: 0 / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003595/0.00973, allocations: 113.5 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.00977, allocations: 77.11 kB / 383.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.009915, allocations: 199.7 kB / 383.7 MB, free: 12.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.009934, allocations: 33.7 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.993e-05/0.01, allocations: 142.8 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.385e-05/0.01004, allocations: 27.78 kB / 383.9 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.01009, allocations: 27.36 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.01023, allocations: 0.4962 MB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.01025, allocations: 8 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.2e-05/0.01029, allocations: 53.06 kB / 384.5 MB, free: 12.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.351e-05/0.01034, allocations: 27.67 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01034, allocations: 0 / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.113e-05/0.01043, allocations: 69.58 kB / 384.6 MB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.01044, allocations: 11.92 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.01045, allocations: 0 / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.01046, allocations: 3.938 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.01053, allocations: 16.03 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.01054, allocations: 7.984 kB / 384.6 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.01057, allocations: 4 kB / 384.6 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.01057, allocations: 0 / 384.6 MB, free: 11.99 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.96e-05/0.01064, allocations: 160.6 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.01066, allocations: 11.89 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001339/0.0108, allocations: 86.33 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.0108, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.0108, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.0108, allocations: 4 kB / 384.9 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.01107, allocations: 322.4 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01107, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.01111, allocations: 15.98 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.01111, allocations: 4 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-06/0.01112, allocations: 0 / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01112, allocations: 3.938 kB / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.01112, allocations: 0 / 385.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.01125, allocations: 211.8 kB / 385.4 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.352e-05/0.01126, allocations: 11.94 kB / 385.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.01127, allocations: 4 kB / 385.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.01131, allocations: 8 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.01134, allocations: 3.984 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.01134, allocations: 4 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.183e-05/0.01139, allocations: 151.1 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01139, allocations: 0 / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001933/0.01159, allocations: 39.88 kB / 385.7 MB, free: 10.9 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.0009894/0.01258, allocations: 0.4946 MB / 386.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001055/0.01268, allocations: 39.66 kB / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01268, allocations: 0 / 386.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.783e-05/0.01271, allocations: 23.67 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.01292, allocations: 30.86 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003658/0.01329, allocations: 200.8 kB / 386.4 MB, free: 10.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.128e-05/0.01333, allocations: 71.33 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.002e-05/0.01338, allocations: 8.734 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.814e-05/0.01346, allocations: 90.17 kB / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01346, allocations: 0 / 386.6 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003976/0.01743, allocations: 2.207 MB / 388.8 MB, free: 7.871 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.349698823876679]