Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.001098/0.001098, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.0009961/0.0009961, allocations: 166.6 kB / 24.99 MB, free: 8.789 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.9928/0.9928, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.3261/0.3261, allocations: 34.26 MB / 296 MB, free: 0.6719 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 3.938 kB / 378 MB, free: 2.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.219e-05/2.36e-05, allocations: 2.312 kB / 378 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002161/0.002185, allocations: 1.632 MB / 379.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.00336, allocations: 1.27 MB / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.003414, allocations: 0 / 380.9 MB, free: 0 / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002066/0.003621, allocations: 23.84 kB / 381 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.003865, allocations: 91.47 kB / 381.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.004041, allocations: 91.64 kB / 381.1 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001229/0.004163, allocations: 71.77 kB / 381.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.348e-05/0.004247, allocations: 4 kB / 381.2 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.577e-05/0.004303, allocations: 43.89 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.373e-05/0.004386, allocations: 23.92 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.004402, allocations: 4 kB / 381.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.00451, allocations: 83.88 kB / 381.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.163e-05/0.004552, allocations: 19.92 kB / 381.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.727e-05/0.004579, allocations: 15.92 kB / 381.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.004763, allocations: 131.5 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.004767, allocations: 4 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004768, allocations: 0 / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.004771, allocations: 0 / 381.5 MB, free: 15.4 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003774/0.005149, allocations: 428 kB / 382 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.005185, allocations: 12.03 kB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.005231, allocations: 8.891 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.005384, allocations: 132.5 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.005394, allocations: 4.375 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.005418, allocations: 4.375 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.005556, allocations: 104 kB / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.005568, allocations: 192 / 382.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.005579, allocations: 8.125 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.005588, allocations: 4 kB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.998e-05/0.005618, allocations: 4 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.005889, allocations: 287.7 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.006037, allocations: 46.98 kB / 382.6 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.006057, allocations: 15.69 kB / 382.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.006074, allocations: 8.016 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.006095, allocations: 37.39 kB / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.72e-07/0.006096, allocations: 0 / 382.6 MB, free: 14.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002956/0.006391, allocations: 97.47 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.006423, allocations: 81.05 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.00653, allocations: 196.1 kB / 383 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.00654, allocations: 37.7 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.006649, allocations: 130.9 kB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.697e-05/0.006666, allocations: 23.8 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.006693, allocations: 27.36 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.006784, allocations: 0.4884 MB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.349e-05/0.006808, allocations: 7.984 kB / 383.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.25e-05/0.00684, allocations: 49.02 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.542e-05/0.006876, allocations: 27.69 kB / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.006876, allocations: 0 / 383.8 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.656e-05/0.006943, allocations: 57.62 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.006954, allocations: 4 kB / 383.8 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.006958, allocations: 4.031 kB / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.006968, allocations: 0 / 383.8 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.8e-05/0.007006, allocations: 15.98 kB / 383.8 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.007011, allocations: 3.938 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.936e-05/0.00703, allocations: 3.953 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.007035, allocations: 4 kB / 383.9 MB, free: 12.84 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 (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.504e-05/0.00709, allocations: 156.6 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.00711, allocations: 19.88 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/0.007203, allocations: 66.39 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.007205, allocations: 4 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.007207, allocations: 0 / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.00721, allocations: 0 / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.007413, allocations: 329.3 kB / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.007414, allocations: 0 / 384.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.00744, allocations: 11.98 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.007441, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.007447, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.007449, allocations: 4 kB / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.00745, allocations: 0 / 384.4 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.114e-05/0.007541, allocations: 211.8 kB / 384.6 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.024e-05/0.007551, allocations: 15.94 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.007563, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.056e-05/0.007593, allocations: 3.938 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.54e-05/0.007619, allocations: 4 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.007622, allocations: 3.984 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.501e-05/0.007677, allocations: 153.4 kB / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007677, allocations: 0 / 384.8 MB, free: 11.8 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000175/0.007852, allocations: 39.86 kB / 384.9 MB, free: 11.76 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 (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.0008776/0.008729, allocations: 483.9 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.008816, allocations: 27.67 kB / 385.4 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.008818, allocations: 4 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.294e-05/0.008841, allocations: 27.61 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.00903, allocations: 19.92 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002642/0.009294, allocations: 173.9 kB / 385.6 MB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.187e-05/0.009326, allocations: 62.39 kB / 385.6 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.337e-05/0.009359, allocations: 11.98 kB / 385.7 MB, free: 11.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.788e-05/0.009387, allocations: 16.48 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.009388, allocations: 4 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003047/0.01243, allocations: 1.825 MB / 387.5 MB, free: 9.242 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.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.363508916925639]