Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.00148/0.00148, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001181/0.001181, allocations: 172.9 kB / 24.91 MB, free: 8.238 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 0.9885/0.9885, allocations: 177.1 MB / 205.3 MB, free: 4.473 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.1567/0.1567, allocations: 34.26 MB / 296.1 MB, free: 13.98 MB / 282.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 325.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.258e-05/2.417e-05, allocations: 2.312 kB / 325.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002657/0.002682, allocations: 1.689 MB / 327 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007853/0.003467, allocations: 0.5336 MB / 327.5 MB, free: 14.48 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.03e-05/0.003527, allocations: 4 kB / 327.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.003741, allocations: 27.78 kB / 327.6 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002658/0.004007, allocations: 75.56 kB / 327.6 MB, free: 14.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.00428, allocations: 95.64 kB / 327.7 MB, free: 14.28 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.004424, allocations: 67.81 kB / 327.8 MB, free: 14.21 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.591e-05/0.00451, allocations: 11.94 kB / 327.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.00457, allocations: 27.92 kB / 327.8 MB, free: 14.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.721e-05/0.004628, allocations: 19.91 kB / 327.8 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.00464, allocations: 4 kB / 327.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.945e-05/0.00471, allocations: 27.98 kB / 327.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.217e-05/0.004752, allocations: 19.92 kB / 327.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.004776, allocations: 11.94 kB / 327.9 MB, free: 14.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001519/0.004928, allocations: 71.67 kB / 328 MB, free: 14.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.004931, allocations: 4 kB / 328 MB, free: 14.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.004932, allocations: 0 / 328 MB, free: 14.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.559e-06/0.004937, allocations: 4 kB / 328 MB, free: 14.01 MB / 314.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.0003122/0.005249, allocations: 292.4 kB / 328.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.966e-05/0.005279, allocations: 8.031 kB / 328.3 MB, free: 13.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.443e-05/0.005303, allocations: 4.938 kB / 328.3 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.005426, allocations: 136.2 kB / 328.4 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.005434, allocations: 4.375 kB / 328.4 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.00545, allocations: 8.312 kB / 328.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.005535, allocations: 58.62 kB / 328.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.005544, allocations: 0 / 328.5 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.005551, allocations: 8 kB / 328.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005556, allocations: 0 / 328.5 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.001e-05/0.005576, allocations: 8 kB / 328.5 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002004/0.005777, allocations: 163.1 kB / 328.7 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.00589, allocations: 34.5 kB / 328.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.229e-05/0.005903, allocations: 8.859 kB / 328.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.005917, allocations: 3.938 kB / 328.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.819e-05/0.005936, allocations: 34.64 kB / 328.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.005937, allocations: 0 / 328.7 MB, free: 13.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002542/0.006191, allocations: 97.58 kB / 328.8 MB, free: 13.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.006217, allocations: 51.41 kB / 328.9 MB, free: 13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.185e-05/0.006308, allocations: 155.1 kB / 329 MB, free: 12.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.006319, allocations: 29.7 kB / 329.1 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.006349, allocations: 92.11 kB / 329.2 MB, free: 12.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.006368, allocations: 23.78 kB / 329.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/0.006396, allocations: 21.7 kB / 329.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003325/0.006729, allocations: 318.8 kB / 329.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.202e-05/0.006741, allocations: 3.984 kB / 329.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.049e-05/0.006751, allocations: 4 kB / 329.5 MB, free: 12.33 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.2e-05/0.006783, allocations: 24.78 kB / 329.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.006784, allocations: 4.188 kB / 329.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.712e-05/0.006842, allocations: 49.62 kB / 329.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.006854, allocations: 8 kB / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.006858, allocations: 0 / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.307e-06/0.006867, allocations: 0 / 329.6 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.481e-05/0.006912, allocations: 15.98 kB / 329.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.006915, allocations: 0 / 329.6 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.586e-05/0.00693, allocations: 4 kB / 329.6 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-06/0.006934, allocations: 0 / 329.6 MB, free: 12.21 MB / 314.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 5.808e-05/0.006992, allocations: 116.6 kB / 329.7 MB, free: 12.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.007011, allocations: 15.92 kB / 329.8 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.084e-05/0.007102, allocations: 54.16 kB / 329.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.007104, allocations: 0 / 329.8 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.007106, allocations: 3.938 kB / 329.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.00711, allocations: 3.984 kB / 329.8 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.007282, allocations: 214.7 kB / 330 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.007284, allocations: 0 / 330 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.077e-05/0.007314, allocations: 11.98 kB / 330 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.007316, allocations: 0 / 330 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-06/0.00732, allocations: 0 / 330 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.007322, allocations: 8 kB / 330 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007323, allocations: 0 / 330 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.161e-05/0.007395, allocations: 147.7 kB / 330.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-06/0.007404, allocations: 11.94 kB / 330.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.007414, allocations: 4 kB / 330.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.007442, allocations: 0 / 330.2 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.209e-05/0.007464, allocations: 11.92 kB / 330.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.007466, allocations: 0 / 330.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.303e-05/0.007499, allocations: 38.92 kB / 330.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007499, allocations: 0 / 330.3 MB, free: 11.53 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001305/0.00763, allocations: 19.98 kB / 330.3 MB, free: 11.51 MB / 314.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.0009888/0.008619, allocations: 0.492 MB / 330.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 6.909e-05/0.008688, allocations: 24.84 kB / 330.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.008692, allocations: 4 kB / 330.8 MB, free: 11.21 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.00871, allocations: 20.78 kB / 330.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.008871, allocations: 23.44 kB / 330.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/0.009147, allocations: 182.2 kB / 331 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.399e-05/0.009181, allocations: 67.34 kB / 331.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.748e-05/0.009208, allocations: 8 kB / 331.1 MB, free: 10.87 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.009254, allocations: 59.36 kB / 331.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.009255, allocations: 0 / 331.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of Templates: time 0.002814/0.01207, allocations: 1.253 MB / 332.4 MB, free: 9.574 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/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: 2.972926663700491]