Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.0009498/0.0009498, 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.000988/0.000988, allocations: 161 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/1, allocations: 177.1 MB / 205 MB, free: 5.59 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.2883/0.2883, allocations: 34.26 MB / 295.7 MB, free: 0.75 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.CombiTable1Dv.Test32,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_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 378.1 MB, free: 2.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.399e-05, allocations: 2.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002324/0.002348, allocations: 1.656 MB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007277/0.003076, allocations: 0.5531 MB / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.575e-05/0.003131, allocations: 0 / 380.3 MB, free: 420 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.003402, allocations: 111.6 kB / 380.4 MB, free: 308 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.003672, allocations: 115.5 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.003911, allocations: 123.5 kB / 380.6 MB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.004069, allocations: 87.83 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.004171, allocations: 15.89 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.656e-05/0.004248, allocations: 51.88 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.707e-05/0.004345, allocations: 67.86 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.00436, allocations: 4 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.615e-05/0.004436, allocations: 47.86 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.562e-05/0.004482, allocations: 23.92 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.004511, allocations: 15.92 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.004658, allocations: 99.59 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.00466, allocations: 0 / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004661, allocations: 4 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004666, allocations: 0 / 381 MB, free: 15.66 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.0004647/0.00513, allocations: 459.8 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.005173, allocations: 8.031 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.005219, allocations: 16.84 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.005358, allocations: 157.2 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.005367, allocations: 4.375 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.005391, allocations: 4.375 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001102/0.005501, allocations: 54.95 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.005511, allocations: 192 / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.005522, allocations: 8.125 kB / 381.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.00553, allocations: 4 kB / 381.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.203e-05/0.005562, allocations: 11.92 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.005878, allocations: 303.7 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.528e-05/0.005943, allocations: 43.03 kB / 382.1 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.766e-05/0.005971, allocations: 19.62 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.005993, allocations: 4.078 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.006015, allocations: 41.33 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.006016, allocations: 0 / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005199/0.006536, allocations: 177.2 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.006564, allocations: 55.41 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001517/0.006716, allocations: 263.1 kB / 382.6 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.006725, allocations: 25.7 kB / 382.6 MB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.989e-05/0.006795, allocations: 158.9 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.006821, allocations: 35.72 kB / 382.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.006853, allocations: 27.38 kB / 382.9 MB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/0.006964, allocations: 0.5 MB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.006986, allocations: 11.98 kB / 383.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.955e-05/0.007006, allocations: 16 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.801e-05/0.007054, allocations: 39.61 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.007054, allocations: 0 / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.972e-05/0.007144, allocations: 73.59 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.007157, allocations: 6.031 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.007162, allocations: 4 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.007177, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.948e-05/0.007247, allocations: 19.98 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.007253, allocations: 4 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.007271, allocations: 3.938 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.007277, allocations: 4 kB / 383.5 MB, free: 12.93 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 (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 7.431e-05/0.007352, allocations: 172.5 kB / 383.7 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.007376, allocations: 15.91 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001396/0.007516, allocations: 95.42 kB / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.007518, allocations: 0 / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.007522, allocations: 0 / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.007525, allocations: 0 / 383.8 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.007824, allocations: 389 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007826, allocations: 0 / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.007864, allocations: 19.98 kB / 384.2 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.007866, allocations: 4.031 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.007873, allocations: 3.938 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.007874, allocations: 0 / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.007876, allocations: 4 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.008, allocations: 231.5 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.106e-05/0.008011, allocations: 11.91 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.189e-05/0.008023, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.372e-05/0.008057, allocations: 7.984 kB / 384.5 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.118e-05/0.008088, allocations: 7.938 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.008092, allocations: 3.984 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.987e-05/0.008172, allocations: 187.2 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008172, allocations: 0 / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001641/0.008337, allocations: 23.88 kB / 384.7 MB, free: 11.68 MB / 362.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.0009227/0.009259, allocations: 444.8 kB / 385.1 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.009363, allocations: 39.67 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.009365, allocations: 0 / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-05/0.009395, allocations: 27.61 kB / 385.2 MB, free: 11.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.009604, allocations: 27.86 kB / 385.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005458/0.01015, allocations: 257.6 kB / 385.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.01019, allocations: 71.33 kB / 385.5 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.128e-05/0.01023, allocations: 21 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.115e-05/0.01026, allocations: 20.5 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01027, allocations: 0 / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of Templates: time 0.003025/0.01329, allocations: 1.42 MB / 387 MB, free: 9.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.269165338948369]