Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.0008688/0.0008688, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001398/0.001398, allocations: 170 kB / 24.91 MB, free: 9.188 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.059/1.059, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.2701/0.2701, allocations: 34.25 MB / 296.1 MB, free: 0.7539 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.CombiTable1Ds.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.71e-07/8.71e-07, allocations: 0 / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.262e-05/1.35e-05, allocations: 3.781 kB / 325.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002108/0.002121, allocations: 1.688 MB / 327 MB, free: 5.949 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006777/0.002799, allocations: 0.5219 MB / 327.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.002842, allocations: 4 kB / 327.5 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001438/0.002986, allocations: 31.72 kB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001863/0.003172, allocations: 75.56 kB / 327.6 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.003361, allocations: 87.7 kB / 327.7 MB, free: 5.227 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.00347, allocations: 72.39 kB / 327.8 MB, free: 5.156 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.797e-05/0.003528, allocations: 7.984 kB / 327.8 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.003574, allocations: 31.91 kB / 327.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.812e-05/0.003612, allocations: 15.92 kB / 327.8 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.398e-06/0.003621, allocations: 4 kB / 327.8 MB, free: 5.098 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.496e-05/0.003676, allocations: 35.92 kB / 327.9 MB, free: 5.062 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.628e-05/0.003703, allocations: 11.92 kB / 327.9 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.844e-05/0.003721, allocations: 11.94 kB / 327.9 MB, free: 5.039 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.003824, allocations: 71.69 kB / 328 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.403e-06/0.003826, allocations: 0 / 328 MB, free: 4.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003826, allocations: 4 kB / 328 MB, free: 4.965 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.00383, allocations: 0 / 328 MB, free: 4.965 MB / 298.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.0002644/0.004094, allocations: 281.9 kB / 328.2 MB, free: 4.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.634e-05/0.004121, allocations: 12.03 kB / 328.3 MB, free: 4.656 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.255e-05/0.004143, allocations: 4.938 kB / 328.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.004261, allocations: 136.1 kB / 328.4 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.004269, allocations: 4.375 kB / 328.4 MB, free: 4.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.004283, allocations: 8.359 kB / 328.4 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.277e-05/0.004356, allocations: 54.88 kB / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004363, allocations: 192 / 328.5 MB, free: 4.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.004371, allocations: 12.12 kB / 328.5 MB, free: 4.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.004375, allocations: 4 kB / 328.5 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.745e-05/0.004392, allocations: 4 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.004554, allocations: 151.1 kB / 328.6 MB, free: 4.238 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.004656, allocations: 38.5 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.122e-05/0.004667, allocations: 4.859 kB / 328.7 MB, free: 4.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.004681, allocations: 4 kB / 328.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.0047, allocations: 34.62 kB / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 6.31e-07/0.004701, allocations: 0 / 328.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.000209/0.00491, allocations: 86.06 kB / 328.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.004935, allocations: 59.41 kB / 328.8 MB, free: 3.977 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.743e-05/0.005012, allocations: 151 kB / 329 MB, free: 3.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.766e-06/0.005021, allocations: 25.7 kB / 329 MB, free: 3.785 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.005051, allocations: 92.12 kB / 329.1 MB, free: 3.691 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.005069, allocations: 19.78 kB / 329.1 MB, free: 3.672 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.00509, allocations: 13.72 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.005166, allocations: 326.8 kB / 329.5 MB, free: 3.324 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.161e-05/0.005178, allocations: 8 kB / 329.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.638e-06/0.005188, allocations: 4 kB / 329.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.157e-05/0.005219, allocations: 21.03 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.00522, allocations: 4 kB / 329.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.005e-05/0.00527, allocations: 53.56 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.447e-06/0.005279, allocations: 4 kB / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.005283, allocations: 0 / 329.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.005299, allocations: 4 kB / 329.6 MB, free: 3.219 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.657e-05/0.005335, allocations: 11.98 kB / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.005338, allocations: 0 / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.436e-05/0.005353, allocations: 0 / 329.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.00536, allocations: 8 kB / 329.6 MB, free: 3.199 MB / 298.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.069e-05/0.00541, allocations: 108.7 kB / 329.7 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.005429, allocations: 15.92 kB / 329.7 MB, free: 3.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.018e-05/0.005509, allocations: 58.09 kB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.005513, allocations: 7.984 kB / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.005514, allocations: 0 / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.005518, allocations: 0 / 329.8 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.005685, allocations: 198.8 kB / 330 MB, free: 2.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.005688, allocations: 3.938 kB / 330 MB, free: 2.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-05/0.005713, allocations: 15.92 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.005715, allocations: 0 / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.557e-06/0.005718, allocations: 0 / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.005719, allocations: 8 kB / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.00572, allocations: 0 / 330 MB, free: 2.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.319e-05/0.005793, allocations: 151.7 kB / 330.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.005803, allocations: 11.89 kB / 330.1 MB, free: 2.574 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-06/0.005812, allocations: 4 kB / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.705e-05/0.005839, allocations: 0 / 330.1 MB, free: 2.57 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.11e-05/0.00586, allocations: 12.2 kB / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.005862, allocations: 0 / 330.2 MB, free: 2.559 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.034e-05/0.005892, allocations: 38.06 kB / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005892, allocations: 0 / 330.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001245/0.006017, allocations: 15.88 kB / 330.2 MB, free: 2.504 MB / 298.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.001039/0.007056, allocations: 0.4958 MB / 330.7 MB, free: 2.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.793e-05/0.007124, allocations: 20.84 kB / 330.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.007126, allocations: 0 / 330.7 MB, free: 2.246 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.697e-05/0.007143, allocations: 16.8 kB / 330.7 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001407/0.007284, allocations: 27.73 kB / 330.8 MB, free: 2.203 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.007514, allocations: 171.2 kB / 330.9 MB, free: 2.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.008e-05/0.007544, allocations: 70.34 kB / 331 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.587e-05/0.00757, allocations: 11.97 kB / 331 MB, free: 1.906 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.338e-05/0.007613, allocations: 55.38 kB / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.007614, allocations: 0 / 331.1 MB, free: 1.852 MB / 298.7 MB Notification: Performance of Templates: time 0.002527/0.01014, allocations: 1.238 MB / 332.3 MB, free: 0.6211 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.9477137392386794]