Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001389/0.001389, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001452/0.001452, allocations: 165.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 177.1 MB / 204.7 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 34.25 MB / 295.4 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 84.16 kB / 443.1 MB, free: 6.562 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3477, allocations: 66.05 MB / 0.4972 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001668/0.3494, allocations: 0.492 MB / 0.4977 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.3514, allocations: 1.354 MB / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.14e-05/0.3514, allocations: 0 / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.315e-05/0.3514, allocations: 0 / 0.499 GB, free: 28.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002187/0.3516, allocations: 10.97 kB / 0.4991 GB, free: 28.62 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Utilities.mo:466:3-498: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.001146/0.3528, allocations: 258.7 kB / 0.4993 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.57e-05/0.3528, allocations: 6.562 kB / 0.4993 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.389e-05/0.3529, allocations: 0 / 0.4993 GB, free: 28.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.005e-05/0.3529, allocations: 7.188 kB / 0.4993 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.3529, allocations: 3.984 kB / 0.4993 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-06/0.3529, allocations: 0 / 0.4993 GB, free: 28.51 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003961/0.3569, allocations: 0.7088 MB / 0.5 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.3569, allocations: 3.938 kB / 0.5 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.387e-05/0.3569, allocations: 0 / 0.5 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3572, allocations: 184.4 kB / 0.5002 GB, free: 28.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3572, allocations: 0 / 0.5002 GB, free: 28.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3572, allocations: 0 / 0.5002 GB, free: 28.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.3573, allocations: 0 / 0.5002 GB, free: 28.25 MB / 446.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.0003962/0.3577, allocations: 313.9 kB / 0.5005 GB, free: 27.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3577, allocations: 9.531 kB / 0.5005 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.934e-05/0.3577, allocations: 0.9375 kB / 0.5005 GB, free: 27.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.491e-05/0.3578, allocations: 113.3 kB / 0.5006 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3578, allocations: 4.375 kB / 0.5006 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.3578, allocations: 384 / 0.5006 GB, free: 27.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.344e-05/0.3579, allocations: 55.28 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.3579, allocations: 4.125 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.358, allocations: 3.938 kB / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.358, allocations: 0 / 0.5007 GB, free: 27.73 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.697e-05/0.358, allocations: 32.83 kB / 0.5007 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.356e-05/0.3581, allocations: 99.91 kB / 0.5008 GB, free: 27.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.803e-05/0.3581, allocations: 47.22 kB / 0.5008 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.949e-05/0.3582, allocations: 34.55 kB / 0.5009 GB, free: 27.47 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-06/0.3582, allocations: 4 kB / 0.5009 GB, free: 27.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.017e-05/0.3582, allocations: 67.48 kB / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3582, allocations: 0 / 0.5009 GB, free: 27.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001836/0.3584, allocations: 123.8 kB / 0.5011 GB, free: 27.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.3584, allocations: 77.11 kB / 0.5011 GB, free: 27.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.919e-05/0.3585, allocations: 100.4 kB / 0.5012 GB, free: 27.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-06/0.3585, allocations: 25.7 kB / 0.5013 GB, free: 27.03 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.455e-05/0.3585, allocations: 83.3 kB / 0.5013 GB, free: 26.95 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.3585, allocations: 0 / 0.5013 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.3585, allocations: 17.25 kB / 0.5014 GB, free: 26.93 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.143e-05/0.3586, allocations: 314.8 kB / 0.5017 GB, free: 26.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.3586, allocations: 28.98 kB / 0.5017 GB, free: 26.58 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.177e-05/0.3586, allocations: 29.05 kB / 0.5017 GB, free: 26.55 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.3586, allocations: 63.45 kB / 0.5018 GB, free: 26.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3586, allocations: 0 / 0.5018 GB, free: 26.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.122e-05/0.3587, allocations: 98.28 kB / 0.5019 GB, free: 26.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.3587, allocations: 32.2 kB / 0.5019 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3587, allocations: 0 / 0.5019 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3587, allocations: 8.031 kB / 0.5019 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.31e-07/0.3587, allocations: 0 / 0.5019 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3588, allocations: 0 / 0.5019 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.465e-05/0.3588, allocations: 0 / 0.5019 GB, free: 26.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.3588, allocations: 3.188 kB / 0.5019 GB, free: 26.33 MB / 446.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 5.278e-05/0.3588, allocations: 138.2 kB / 0.502 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-06/0.3588, allocations: 0 / 0.502 GB, free: 26.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.139e-05/0.3588, allocations: 3.156 kB / 0.502 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3588, allocations: 3.938 kB / 0.502 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3589, allocations: 0 / 0.502 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3589, allocations: 3.188 kB / 0.502 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.857e-05/0.3589, allocations: 108.7 kB / 0.5022 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3589, allocations: 0 / 0.5022 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.113e-06/0.3589, allocations: 7.031 kB / 0.5022 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.3589, allocations: 3.938 kB / 0.5022 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-06/0.3589, allocations: 0 / 0.5022 GB, free: 26.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.3589, allocations: 3.938 kB / 0.5022 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3589, allocations: 3.938 kB / 0.5022 GB, free: 26.03 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.239e-05/0.359, allocations: 117.2 kB / 0.5023 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.218e-06/0.359, allocations: 3.344 kB / 0.5023 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/0.359, allocations: 0 / 0.5023 GB, free: 25.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.877e-06/0.359, allocations: 4.031 kB / 0.5023 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.359, allocations: 7.094 kB / 0.5023 GB, free: 25.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.359, allocations: 0 / 0.5023 GB, free: 25.89 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.186e-05/0.3591, allocations: 82.09 kB / 0.5024 GB, free: 25.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3591, allocations: 0 / 0.5024 GB, free: 25.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003046/0.3594, allocations: 61.14 kB / 0.5024 GB, free: 25.8 MB / 446.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.0007611/0.3601, allocations: 336.8 kB / 0.5028 GB, free: 25.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.3602, allocations: 120.4 kB / 0.5029 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3602, allocations: 3.25 kB / 0.5029 GB, free: 25.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.863e-05/0.3603, allocations: 84.36 kB / 0.503 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001347/0.3604, allocations: 0 / 0.503 GB, free: 25.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001898/0.3606, allocations: 117.5 kB / 0.5031 GB, free: 25.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.276e-05/0.3606, allocations: 57.92 kB / 0.5031 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.692e-06/0.3606, allocations: 7.938 kB / 0.5031 GB, free: 25.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.3607, allocations: 11.53 kB / 0.5031 GB, free: 25.17 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3607, allocations: 0 / 0.5031 GB, free: 25.17 MB / 446.1 MB Notification: Performance of Templates: time 0.004931/0.3656, allocations: 1.601 MB / 0.5047 GB, free: 24.97 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 4.955769157037139]