Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000725/0.000725, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001644/0.002369, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009791/0.0009791, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.00244, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.908/0.908, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1557/1.064, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1502/0.1502, allocations: 32.8 MB / 272 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02008/0.1703, allocations: 12.54 MB / 284.5 MB, free: 9.719 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 3.938 kB / 285.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.898e-05, allocations: 2.312 kB / 285.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002301/0.00232, allocations: 1.663 MB / 287.5 MB, free: 6.711 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004736/0.002793, allocations: 426.8 kB / 288 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.002834, allocations: 0 / 288 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001946/0.003028, allocations: 147.6 kB / 288.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.003148, allocations: 99.61 kB / 288.2 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.003331, allocations: 87.64 kB / 288.3 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.003457, allocations: 87.69 kB / 288.4 MB, free: 5.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.084e-05/0.003528, allocations: 20.17 kB / 288.4 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.684e-05/0.003614, allocations: 67.88 kB / 288.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.876e-05/0.003703, allocations: 63.86 kB / 288.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.003717, allocations: 0 / 288.5 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.354e-05/0.003791, allocations: 47.86 kB / 288.6 MB, free: 5.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.00383, allocations: 27.92 kB / 288.6 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.003852, allocations: 11.94 kB / 288.6 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.003981, allocations: 91.61 kB / 288.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.00399, allocations: 0 / 288.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003991, allocations: 0 / 288.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.003999, allocations: 0 / 288.7 MB, free: 5.551 MB / 282.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.000337/0.004336, allocations: 351.7 kB / 289 MB, free: 5.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.004368, allocations: 8.031 kB / 289.1 MB, free: 5.176 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.716e-05/0.004395, allocations: 12.92 kB / 289.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.004516, allocations: 153.4 kB / 289.2 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.004523, allocations: 4.375 kB / 289.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.004539, allocations: 384 / 289.2 MB, free: 4.984 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.896e-05/0.004618, allocations: 54.95 kB / 289.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.004625, allocations: 192 / 289.3 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.004634, allocations: 11.94 kB / 289.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004638, allocations: 0 / 289.3 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.421e-05/0.004663, allocations: 11.98 kB / 289.3 MB, free: 4.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001828/0.004845, allocations: 179 kB / 289.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/0.00489, allocations: 30.64 kB / 289.5 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.395e-05/0.004903, allocations: 12.86 kB / 289.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.004918, allocations: 0 / 289.5 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.004937, allocations: 38.58 kB / 289.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 6.42e-07/0.004938, allocations: 0 / 289.6 MB, free: 4.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003674/0.005305, allocations: 149.6 kB / 289.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/0.005329, allocations: 55.41 kB / 289.8 MB, free: 4.387 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.005439, allocations: 209.3 kB / 290 MB, free: 4.168 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.005449, allocations: 25.7 kB / 290 MB, free: 4.137 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.785e-05/0.005477, allocations: 96.11 kB / 290.1 MB, free: 4.039 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.082e-05/0.005498, allocations: 27.75 kB / 290.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.005523, allocations: 25.69 kB / 290.1 MB, free: 3.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.027e-05/0.005594, allocations: 326.8 kB / 290.4 MB, free: 3.652 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.005609, allocations: 4 kB / 290.4 MB, free: 3.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.111e-05/0.00562, allocations: 8 kB / 290.5 MB, free: 3.641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.005648, allocations: 24.84 kB / 290.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.00565, allocations: 3.938 kB / 290.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 5.669e-05/0.005706, allocations: 69.53 kB / 290.6 MB, free: 3.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.005717, allocations: 4 kB / 290.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.00572, allocations: 4 kB / 290.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.00573, allocations: 0 / 290.6 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.327e-05/0.005783, allocations: 15.98 kB / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.005786, allocations: 0 / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.763e-05/0.005804, allocations: 8 kB / 290.6 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.005808, allocations: 0 / 290.6 MB, free: 3.504 MB / 282.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 4.909e-05/0.005857, allocations: 124.6 kB / 290.7 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.596e-05/0.005873, allocations: 8 kB / 290.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.052e-05/0.005953, allocations: 83.06 kB / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.005954, allocations: 0 / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.005955, allocations: 0 / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.005958, allocations: 0 / 290.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.006156, allocations: 259.8 kB / 291 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.006157, allocations: 0 / 291 MB, free: 3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.42e-05/0.006191, allocations: 19.98 kB / 291.1 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-06/0.0062, allocations: 11.91 kB / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006201, allocations: 0 / 291.1 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-06/0.006206, allocations: 4 kB / 291.1 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.006207, allocations: 4.031 kB / 291.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.006208, allocations: 0 / 291.1 MB, free: 2.961 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.525e-05/0.006283, allocations: 172.2 kB / 291.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.063e-05/0.006294, allocations: 3.984 kB / 291.3 MB, free: 2.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.128e-05/0.006325, allocations: 4 kB / 291.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.006347, allocations: 3.984 kB / 291.3 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-06/0.006351, allocations: 4 kB / 291.3 MB, free: 2.758 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.928e-05/0.0064, allocations: 71.5 kB / 291.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0064, allocations: 0 / 291.3 MB, free: 2.684 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001364/0.006536, allocations: 19.94 kB / 291.4 MB, free: 2.664 MB / 282.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.001238/0.007774, allocations: 0.6263 MB / 292 MB, free: 2.355 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.276e-05/0.007847, allocations: 44.77 kB / 292 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.007852, allocations: 4 kB / 292 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.746e-05/0.00788, allocations: 24.84 kB / 292.1 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001792/0.008059, allocations: 86.17 kB / 292.1 MB, free: 2.188 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.008454, allocations: 251.5 kB / 292.4 MB, free: 1.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.008492, allocations: 79.27 kB / 292.5 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.482e-05/0.008527, allocations: 25.2 kB / 292.5 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.008573, allocations: 55.38 kB / 292.5 MB, free: 1.73 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008574, allocations: 0 / 292.5 MB, free: 1.73 MB / 282.7 MB Notification: Performance of Templates: time 0.002767/0.01134, allocations: 1.488 MB / 294 MB, free: 264 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7381163146346807]