Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001639/0.001639, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 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.001784/0.001784, allocations: 210 kB / 24.48 MB, free: 3.938 MB / 14.72 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.441/1.441, allocations: 230.6 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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.2458/0.2458, allocations: 46.96 MB / 361.6 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 179] 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.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 72.08 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3028, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001598/0.3044, allocations: 500 kB / 0.5623 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002181/0.3066, allocations: 1.346 MB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.244e-05/0.3066, allocations: 0 / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.3066, allocations: 0 / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.3068, allocations: 15.94 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:455:3-487: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.001138/0.3079, allocations: 257.9 kB / 0.5638 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.242e-05/0.308, allocations: 12 kB / 0.5638 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.308, allocations: 0 / 0.5638 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.931e-05/0.308, allocations: 7.922 kB / 0.5639 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.573e-05/0.3081, allocations: 4 kB / 0.5639 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.333e-06/0.3081, allocations: 0 / 0.5639 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004155/0.3122, allocations: 0.7151 MB / 0.5646 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-06/0.3122, allocations: 0 / 0.5646 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.3123, allocations: 11.92 kB / 0.5646 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.3126, allocations: 178.1 kB / 0.5647 GB, free: 1.281 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3126, allocations: 0 / 0.5647 GB, free: 1.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3126, allocations: 0 / 0.5647 GB, free: 1.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3126, allocations: 0 / 0.5647 GB, free: 1.281 MB / 398.1 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.0003914/0.313, allocations: 307.6 kB / 0.565 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.313, allocations: 12.03 kB / 0.565 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.853e-05/0.313, allocations: 8.938 kB / 0.5651 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.794e-05/0.3131, allocations: 102.5 kB / 0.5652 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.3132, allocations: 384 / 0.5652 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.065e-05/0.3132, allocations: 4.375 kB / 0.5652 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.3133, allocations: 63.45 kB / 0.5652 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3133, allocations: 4 kB / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.3133, allocations: 0 / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3133, allocations: 0 / 0.5652 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.106e-05/0.3133, allocations: 25.7 kB / 0.5652 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/0.3134, allocations: 101.3 kB / 0.5653 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.742e-05/0.3135, allocations: 56.28 kB / 0.5654 GB, free: 500 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.3135, allocations: 30.56 kB / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.3135, allocations: 0 / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.237e-05/0.3136, allocations: 72.2 kB / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3136, allocations: 0 / 0.5655 GB, free: 372 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002018/0.3138, allocations: 122.7 kB / 0.5656 GB, free: 224 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.3139, allocations: 77.11 kB / 0.5657 GB, free: 128 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.3139, allocations: 93.86 kB / 0.5658 GB, free: 24 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/0.314, allocations: 25.7 kB / 0.5658 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.314, allocations: 92.38 kB / 0.5659 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.314, allocations: 4 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.3141, allocations: 13.7 kB / 0.5659 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3142, allocations: 310.8 kB / 0.5662 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.56e-05/0.3142, allocations: 29.7 kB / 0.5662 GB, free: 15.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/0.3143, allocations: 25.7 kB / 0.5663 GB, free: 15.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.674e-05/0.3143, allocations: 72.14 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3143, allocations: 0 / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001049/0.3144, allocations: 93.05 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.3145, allocations: 37.73 kB / 0.5664 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3145, allocations: 4 kB / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3145, allocations: 0 / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.3145, allocations: 0 / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3145, allocations: 0 / 0.5664 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.664e-05/0.3145, allocations: 4 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.19e-06/0.3145, allocations: 0 / 0.5665 GB, free: 15.25 MB / 414.1 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 9.942e-05/0.3146, allocations: 139.5 kB / 0.5666 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.352e-05/0.3146, allocations: 7.938 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.183e-05/0.3146, allocations: 3.156 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.3146, allocations: 0 / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3146, allocations: 4 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.3146, allocations: 0 / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.938e-05/0.3147, allocations: 97.33 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3147, allocations: 3.984 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.3147, allocations: 3.938 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.3147, allocations: 0 / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3147, allocations: 3.938 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3147, allocations: 0 / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3147, allocations: 4 kB / 0.5667 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.3149, allocations: 116.5 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.3149, allocations: 4.031 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.3149, allocations: 7.938 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.656e-06/0.3149, allocations: 0 / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/0.3149, allocations: 4 kB / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.3149, allocations: 0 / 0.5668 GB, free: 14.78 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.075e-05/0.3149, allocations: 79.28 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3149, allocations: 3.938 kB / 0.5669 GB, free: 14.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003026/0.3152, allocations: 59.86 kB / 0.567 GB, free: 14.64 MB / 414.1 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.0007971/0.316, allocations: 348.8 kB / 0.5673 GB, free: 14.37 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.3162, allocations: 122.7 kB / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3162, allocations: 0 / 0.5674 GB, free: 14.22 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.457e-05/0.3162, allocations: 85.11 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001279/0.3164, allocations: 4 kB / 0.5675 GB, free: 14.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.3166, allocations: 132.4 kB / 0.5676 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.899e-05/0.3166, allocations: 55.36 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.232e-05/0.3166, allocations: 7.438 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.3166, allocations: 0 / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of Templates: time 0.003678/0.3203, allocations: 1.673 MB / 0.5693 GB, free: 12.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.356337709818035]