Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.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.001107/0.001107, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002446, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.000739/0.000739, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001803, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.138/1.138, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1281/1.266, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.3073/0.3073, allocations: 32.81 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02984/0.3371, allocations: 12.52 MB / 289.3 MB, free: 8.676 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.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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 290.6 MB, free: 7.672 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.661e-05/3.816e-05, allocations: 4.422 kB / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001971/0.002009, allocations: 0.5319 MB / 291.1 MB, free: 7.262 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.004449, allocations: 1.423 MB / 292.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.004473, allocations: 0 / 292.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.532e-06/0.004479, allocations: 0 / 292.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.487e-05/0.004574, allocations: 23.7 kB / 292.6 MB, free: 6.117 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:456:3-488:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.00585, allocations: 235.2 kB / 292.8 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.456e-05/0.005934, allocations: 10.84 kB / 292.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.678e-05/0.005981, allocations: 3.75 kB / 292.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.688e-05/0.006038, allocations: 2.156 kB / 292.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.939e-05/0.006097, allocations: 1.656 kB / 292.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.006108, allocations: 0 / 292.8 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003321/0.00943, allocations: 1.005 MB / 293.8 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.00944, allocations: 0 / 293.8 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.713e-05/0.009457, allocations: 0 / 293.8 MB, free: 5.367 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003272/0.009785, allocations: 191.4 kB / 294 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.908e-05/0.009804, allocations: 0 / 294 MB, free: 5.18 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.009805, allocations: 0 / 294 MB, free: 5.18 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.027e-05/0.009825, allocations: 0 / 294 MB, free: 5.18 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004782/0.0103, allocations: 302.1 kB / 294.3 MB, free: 4.855 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.01035, allocations: 8.031 kB / 294.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.343e-05/0.01038, allocations: 0.9375 kB / 294.3 MB, free: 4.848 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.01048, allocations: 110.5 kB / 294.4 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.01049, allocations: 4.312 kB / 294.4 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.0105, allocations: 384 / 294.4 MB, free: 4.711 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.418e-05/0.01058, allocations: 63.91 kB / 294.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.01059, allocations: 192 / 294.5 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.0106, allocations: 4.125 kB / 294.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.01061, allocations: 0 / 294.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.01063, allocations: 29.7 kB / 294.5 MB, free: 4.598 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.881e-05/0.01071, allocations: 61.05 kB / 294.6 MB, free: 4.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.026e-05/0.01076, allocations: 44.27 kB / 294.6 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.232e-05/0.01078, allocations: 38.66 kB / 294.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.727e-06/0.01078, allocations: 0 / 294.7 MB, free: 4.418 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.807e-05/0.01087, allocations: 60.2 kB / 294.7 MB, free: 4.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.01087, allocations: 4 kB / 294.7 MB, free: 4.34 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001439/0.01102, allocations: 114.8 kB / 294.8 MB, free: 4.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.01106, allocations: 77.11 kB / 294.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.747e-05/0.01114, allocations: 110.6 kB / 295 MB, free: 3.988 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.01115, allocations: 25.7 kB / 295 MB, free: 3.957 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.608e-05/0.01118, allocations: 80.14 kB / 295.1 MB, free: 3.875 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.01119, allocations: 4 kB / 295.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.01122, allocations: 17.7 kB / 295.1 MB, free: 3.848 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.01129, allocations: 314.8 kB / 295.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.01131, allocations: 25.95 kB / 295.5 MB, free: 3.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.047e-05/0.01132, allocations: 29.7 kB / 295.5 MB, free: 3.465 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.01143, allocations: 64.2 kB / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.01143, allocations: 0 / 295.6 MB, free: 3.387 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.085e-05/0.01148, allocations: 89.09 kB / 295.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.01152, allocations: 29.7 kB / 295.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01153, allocations: 0 / 295.7 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.166e-06/0.01154, allocations: 4 kB / 295.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.701e-06/0.01154, allocations: 4 kB / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.895e-06/0.01155, allocations: 96 / 295.7 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.01156, allocations: 7.938 kB / 295.7 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.01156, allocations: 0 / 295.7 MB, free: 3.23 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 6.076e-05/0.01162, allocations: 139.5 kB / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-06/0.01163, allocations: 0 / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.041e-05/0.01164, allocations: 3.156 kB / 295.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.01164, allocations: 11.88 kB / 295.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.533e-06/0.01164, allocations: 0 / 295.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01164, allocations: 3.938 kB / 295.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.767e-05/0.01169, allocations: 61.89 kB / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.0117, allocations: 7.984 kB / 295.9 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.0117, allocations: 4 kB / 295.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-06/0.0117, allocations: 4 kB / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.0117, allocations: 0 / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-06/0.01171, allocations: 0 / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-07/0.01171, allocations: 0 / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01171, allocations: 0 / 295.9 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.588e-05/0.01177, allocations: 120.5 kB / 296 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.01178, allocations: 0 / 296 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.009e-06/0.01179, allocations: 0 / 296 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.027e-06/0.0118, allocations: 4 kB / 296 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.0118, allocations: 8.016 kB / 296.1 MB, free: 2.809 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.473e-06/0.01181, allocations: 4.859 kB / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01181, allocations: 0 / 296.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.01199, allocations: 71.73 kB / 296.1 MB, free: 2.73 MB / 282.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0007577/0.01274, allocations: 442.1 kB / 296.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.01285, allocations: 119.6 kB / 296.7 MB, free: 2.309 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.01285, allocations: 4 kB / 296.7 MB, free: 2.305 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.939e-05/0.01288, allocations: 90.03 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.962e-05/0.01294, allocations: 0 / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001773/0.01312, allocations: 123 kB / 296.9 MB, free: 2.043 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.419e-05/0.01315, allocations: 51.36 kB / 296.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.041e-06/0.01316, allocations: 0 / 296.9 MB, free: 1.973 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.01319, allocations: 59.36 kB / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of SimCode: time 3.7e-07/0.0132, allocations: 0 / 297 MB, free: 1.914 MB / 282.7 MB Notification: Performance of Templates: time 0.003463/0.01666, allocations: 1.881 MB / 298.9 MB, free: 36 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestFiles/TestFiles.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.3141265055164695]