Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.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.0009521/0.0009521, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001003/0.001003, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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.013/1.013, allocations: 177.1 MB / 205 MB, free: 5.262 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.2682/0.2682, allocations: 34.26 MB / 295.7 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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test32,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.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.036e-05/3.251e-05, allocations: 5.547 kB / 378 MB, free: 2.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test32): time 0.003258/0.003291, allocations: 1.705 MB / 379.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001348/0.004639, allocations: 1.313 MB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.378e-05/0.004703, allocations: 3.938 kB / 381.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.004922, allocations: 23.84 kB / 381.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003223/0.005245, allocations: 83.55 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.005596, allocations: 179.4 kB / 381.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001608/0.005757, allocations: 79.81 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.005864, allocations: 15.98 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.005933, allocations: 47.77 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.006039, allocations: 23.98 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.006056, allocations: 8 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.006195, allocations: 95.81 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.006253, allocations: 23.91 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.2e-05/0.006285, allocations: 15.98 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.006503, allocations: 147.4 kB / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.006505, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.006506, allocations: 0 / 381.8 MB, free: 14.87 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.006511, allocations: 0 / 381.8 MB, free: 14.87 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.0004169/0.006928, allocations: 436 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.006962, allocations: 8.031 kB / 382.2 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.007017, allocations: 12.88 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.007181, allocations: 146.2 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.007191, allocations: 4.312 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.007218, allocations: 4.375 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.007378, allocations: 112 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.007388, allocations: 4.172 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.007403, allocations: 8.125 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.007412, allocations: 0 / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.007452, allocations: 8 kB / 382.5 MB, free: 14.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.007847, allocations: 291.7 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.811e-05/0.007945, allocations: 43.05 kB / 382.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.007982, allocations: 15.62 kB / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.063e-05/0.008013, allocations: 0 / 382.9 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.008053, allocations: 45.47 kB / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.008054, allocations: 0 / 382.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005461/0.008601, allocations: 125.4 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.22e-05/0.008643, allocations: 77.11 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.008769, allocations: 201.9 kB / 383.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.00878, allocations: 25.7 kB / 383.3 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.506e-05/0.008835, allocations: 146.8 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.008863, allocations: 31.73 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.008907, allocations: 23.38 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.009031, allocations: 0.4923 MB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.739e-05/0.009059, allocations: 8.078 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.791e-05/0.009107, allocations: 61.05 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.34e-05/0.00916, allocations: 35.62 kB / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.009161, allocations: 0 / 384.1 MB, free: 12.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001078/0.009269, allocations: 61.64 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.009283, allocations: 10.34 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.009288, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.009305, allocations: 12.23 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/0.009385, allocations: 19.94 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.009389, allocations: 0 / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.756e-05/0.009417, allocations: 11.98 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.009422, allocations: 4 kB / 384.2 MB, free: 12.19 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.486e-05/0.009487, allocations: 160.5 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.009512, allocations: 15.94 kB / 384.4 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000138/0.00965, allocations: 82.38 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.009651, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-06/0.009654, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.009658, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.009933, allocations: 337.8 kB / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.009935, allocations: 0 / 384.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.807e-05/0.009983, allocations: 15.98 kB / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.009985, allocations: 0 / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.009991, allocations: 0 / 384.8 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.009994, allocations: 3.984 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.009996, allocations: 7.938 kB / 384.9 MB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.01012, allocations: 223.9 kB / 385.1 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.16e-05/0.01013, allocations: 7.953 kB / 385.1 MB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.01015, allocations: 8 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.192e-05/0.01019, allocations: 7.984 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.01022, allocations: 0 / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.01022, allocations: 7.984 kB / 385.1 MB, free: 11.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.226e-05/0.01028, allocations: 147.2 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01028, allocations: 0 / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001946/0.01048, allocations: 43.86 kB / 385.3 MB, free: 11.05 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.00116/0.01164, allocations: 489 kB / 385.8 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001352/0.01177, allocations: 51.58 kB / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.022e-06/0.01178, allocations: 0 / 385.8 MB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.988e-05/0.01182, allocations: 27.67 kB / 385.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.01203, allocations: 32.38 kB / 385.9 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003552/0.01239, allocations: 204.8 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.796e-05/0.01243, allocations: 63.34 kB / 386.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.912e-05/0.01249, allocations: 20.7 kB / 386.2 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.831e-05/0.01253, allocations: 20.48 kB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01253, allocations: 0 / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of Templates: time 0.003672/0.0162, allocations: 2.007 MB / 388.2 MB, free: 8.289 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test32/Test32.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.3961271257139742]