Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001869/0.001869, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 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.002653/0.002653, allocations: 204.6 kB / 24.47 MB, free: 4.023 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.509/1.509, allocations: 230.2 MB / 257.8 MB, free: 8.512 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2413/0.2413, allocations: 46.9 MB / 361.1 MB, free: 4.73 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-beta.om/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_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 83.86 kB / 0.4967 GB, free: 8.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3308, allocations: 65.96 MB / 0.5612 GB, free: 34.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001577/0.3324, allocations: 490.1 kB / 0.5616 GB, free: 34.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.334, allocations: 1.359 MB / 0.563 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.552e-05/0.334, allocations: 0 / 0.563 GB, free: 33.3 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.334, allocations: 3.938 kB / 0.563 GB, free: 33.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.3342, allocations: 14 kB / 0.563 GB, free: 33.29 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.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.001041/0.3352, allocations: 254.2 kB / 0.5632 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.998e-05/0.3353, allocations: 4 kB / 0.5632 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.609e-05/0.3353, allocations: 6.703 kB / 0.5632 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.532e-05/0.3353, allocations: 0 / 0.5632 GB, free: 33.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.538e-05/0.3354, allocations: 20.33 kB / 0.5632 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.154e-06/0.3354, allocations: 0.5312 kB / 0.5632 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.3391, allocations: 0.695 MB / 0.5639 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.077e-06/0.3391, allocations: 0 / 0.5639 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.854e-05/0.3391, allocations: 2.781 kB / 0.5639 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.3393, allocations: 174.9 kB / 0.5641 GB, free: 32.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3393, allocations: 0 / 0.5641 GB, free: 32.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3393, allocations: 0.5625 kB / 0.5641 GB, free: 32.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3393, allocations: 6.844 kB / 0.5641 GB, free: 32.93 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.0003061/0.3396, allocations: 390.7 kB / 0.5645 GB, free: 32.51 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3397, allocations: 9.344 kB / 0.5645 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.115e-05/0.3397, allocations: 0.9375 kB / 0.5645 GB, free: 32.51 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.129e-05/0.3398, allocations: 164.3 kB / 0.5646 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3398, allocations: 384 / 0.5646 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.191e-05/0.3398, allocations: 4.094 kB / 0.5646 GB, free: 32.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.813e-05/0.3399, allocations: 39.38 kB / 0.5647 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.3399, allocations: 192 / 0.5647 GB, free: 32.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.645e-06/0.3399, allocations: 3.938 kB / 0.5647 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.026e-06/0.3399, allocations: 0 / 0.5647 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.399e-05/0.3399, allocations: 0 / 0.5647 GB, free: 32.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001018/0.34, allocations: 150.6 kB / 0.5648 GB, free: 32.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.41e-05/0.34, allocations: 21.58 kB / 0.5648 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.183e-05/0.3401, allocations: 8.375 kB / 0.5649 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.806e-06/0.3401, allocations: 0.8438 kB / 0.5649 GB, free: 32.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3401, allocations: 65.3 kB / 0.5649 GB, free: 31.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.3401, allocations: 0 / 0.5649 GB, free: 31.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001469/0.3402, allocations: 72.55 kB / 0.565 GB, free: 31.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.3403, allocations: 80.58 kB / 0.5651 GB, free: 31.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.023e-05/0.3403, allocations: 98.39 kB / 0.5652 GB, free: 31.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.992e-06/0.3403, allocations: 25.7 kB / 0.5652 GB, free: 31.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.245e-05/0.3403, allocations: 83.17 kB / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.285e-05/0.3403, allocations: 3.953 kB / 0.5653 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.167e-05/0.3404, allocations: 12.97 kB / 0.5653 GB, free: 31.57 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.847e-05/0.3404, allocations: 314.4 kB / 0.5656 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-06/0.3404, allocations: 2.969 kB / 0.5656 GB, free: 31.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-06/0.3404, allocations: 4 kB / 0.5656 GB, free: 31.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.702e-05/0.3404, allocations: 61.92 kB / 0.5656 GB, free: 31.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3404, allocations: 0 / 0.5656 GB, free: 31.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.985e-05/0.3405, allocations: 67.97 kB / 0.5657 GB, free: 31.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.3405, allocations: 35.89 kB / 0.5657 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3405, allocations: 3.938 kB / 0.5657 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3405, allocations: 3.531 kB / 0.5657 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.3405, allocations: 0 / 0.5657 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.3405, allocations: 0 / 0.5657 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.355e-05/0.3405, allocations: 2.938 kB / 0.5658 GB, free: 31.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.3406, allocations: 0 / 0.5658 GB, free: 31.08 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 4.177e-05/0.3406, allocations: 141.8 kB / 0.5659 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-06/0.3406, allocations: 0 / 0.5659 GB, free: 30.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.145e-06/0.3406, allocations: 11 kB / 0.5659 GB, free: 30.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.3406, allocations: 6.281 kB / 0.5659 GB, free: 30.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3406, allocations: 0 / 0.5659 GB, free: 30.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.3406, allocations: 0 / 0.5659 GB, free: 30.92 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.828e-05/0.3407, allocations: 152.2 kB / 0.566 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.3407, allocations: 0 / 0.566 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3407, allocations: 0 / 0.566 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.3407, allocations: 0 / 0.566 GB, free: 30.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3407, allocations: 3.938 kB / 0.5661 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3407, allocations: 2.781 kB / 0.5661 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3407, allocations: 1 kB / 0.5661 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.702e-05/0.3407, allocations: 98.86 kB / 0.5662 GB, free: 30.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.3408, allocations: 77.11 kB / 0.5662 GB, free: 30.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.3408, allocations: 3.938 kB / 0.5662 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-06/0.3408, allocations: 3.062 kB / 0.5662 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.3408, allocations: 0 / 0.5662 GB, free: 30.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3408, allocations: 4 kB / 0.5662 GB, free: 30.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.477e-05/0.3408, allocations: 81.61 kB / 0.5663 GB, free: 30.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3408, allocations: 0 / 0.5663 GB, free: 30.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.3411, allocations: 59.72 kB / 0.5664 GB, free: 30.43 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.0006774/0.3417, allocations: 340.9 kB / 0.5667 GB, free: 30.26 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.926e-05/0.3418, allocations: 57.97 kB / 0.5668 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3418, allocations: 0 / 0.5668 GB, free: 30.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-05/0.3418, allocations: 57.41 kB / 0.5668 GB, free: 30.13 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001196/0.342, allocations: 3.938 kB / 0.5668 GB, free: 30.13 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001446/0.3421, allocations: 98.56 kB / 0.5669 GB, free: 30.02 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.322e-05/0.3422, allocations: 0.672 MB / 0.5676 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.959e-06/0.3422, allocations: 0 / 0.5676 GB, free: 29.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-06/0.3422, allocations: 7.438 kB / 0.5676 GB, free: 29.32 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3422, allocations: 0 / 0.5676 GB, free: 29.32 MB / 446.1 MB Notification: Performance of Templates: time 0.004107/0.3463, allocations: 1.601 MB / 0.5691 GB, free: 29.12 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.160205475054681]