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.008366/0.008366, allocations: 103.4 kB / 21.98 MB, free: 5.227 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.002108/0.002108, allocations: 222.4 kB / 25.3 MB, free: 3.191 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.44/1.44, allocations: 230.5 MB / 258.9 MB, free: 8.004 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.2357/0.2357, allocations: 46.93 MB / 362.3 MB, free: 4.289 MB / 286.1 MB " [Timeout remaining time 180] 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.002377/0.002377, allocations: 79.86 kB / 0.4982 GB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3503, allocations: 66.08 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001685/0.352, allocations: 500 kB / 0.5632 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.3544, allocations: 1.365 MB / 0.5645 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.3545, allocations: 0 / 0.5645 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.646e-05/0.3545, allocations: 7.938 kB / 0.5645 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.3547, allocations: 7.984 kB / 0.5645 GB, free: 2.387 MB / 398.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.001221/0.3559, allocations: 265.6 kB / 0.5648 GB, free: 2.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.3559, allocations: 4 kB / 0.5648 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.472e-05/0.356, allocations: 3.984 kB / 0.5648 GB, free: 2.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.314e-05/0.356, allocations: 8 kB / 0.5648 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.66e-05/0.3561, allocations: 11.92 kB / 0.5648 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-06/0.3561, allocations: 0 / 0.5648 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004216/0.3603, allocations: 0.739 MB / 0.5655 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.3603, allocations: 3.984 kB / 0.5655 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.3603, allocations: 0 / 0.5655 GB, free: 1.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003146/0.3607, allocations: 182.1 kB / 0.5657 GB, free: 1.312 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3607, allocations: 3.938 kB / 0.5657 GB, free: 1.309 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3607, allocations: 4 kB / 0.5657 GB, free: 1.305 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.3607, allocations: 0 / 0.5657 GB, free: 1.305 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.0004409/0.3611, allocations: 307.7 kB / 0.566 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.3611, allocations: 12.02 kB / 0.566 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.512e-05/0.3612, allocations: 4.938 kB / 0.566 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.3613, allocations: 102.5 kB / 0.5661 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.3613, allocations: 384 / 0.5661 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.317e-06/0.3613, allocations: 4.375 kB / 0.5661 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.631e-05/0.3614, allocations: 30.27 kB / 0.5662 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3614, allocations: 4.125 kB / 0.5662 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.3614, allocations: 3.938 kB / 0.5662 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.3614, allocations: 0 / 0.5662 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.799e-05/0.3615, allocations: 7.984 kB / 0.5662 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.3616, allocations: 124.7 kB / 0.5663 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.407e-05/0.3617, allocations: 22.55 kB / 0.5663 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.3617, allocations: 4.859 kB / 0.5663 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.817e-06/0.3617, allocations: 4 kB / 0.5663 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/0.3617, allocations: 64.33 kB / 0.5664 GB, free: 496 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3617, allocations: 0 / 0.5664 GB, free: 496 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001882/0.3619, allocations: 71.27 kB / 0.5665 GB, free: 412 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.362, allocations: 77.11 kB / 0.5665 GB, free: 316 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.3621, allocations: 97.86 kB / 0.5666 GB, free: 208 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.3621, allocations: 25.95 kB / 0.5666 GB, free: 176 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.3621, allocations: 88.12 kB / 0.5667 GB, free: 84 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.452e-05/0.3621, allocations: 0 / 0.5667 GB, free: 84 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.3622, allocations: 17.66 kB / 0.5667 GB, free: 60 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3623, allocations: 310.8 kB / 0.567 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.08e-05/0.3623, allocations: 0 / 0.567 GB, free: 15.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.322e-06/0.3624, allocations: 4 kB / 0.567 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.143e-05/0.3624, allocations: 64.27 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3624, allocations: 4.062 kB / 0.5671 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.409e-05/0.3625, allocations: 71.28 kB / 0.5672 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/0.3625, allocations: 29.7 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.3625, allocations: 3.938 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.3626, allocations: 0 / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.72e-07/0.3626, allocations: 4 kB / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3626, allocations: 0 / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.418e-05/0.3626, allocations: 0 / 0.5672 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3626, allocations: 0 / 0.5672 GB, free: 15.54 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 0.0001187/0.3627, allocations: 148.4 kB / 0.5674 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-06/0.3627, allocations: 0 / 0.5674 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.089e-05/0.3627, allocations: 7.094 kB / 0.5674 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.3627, allocations: 0 / 0.5674 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.3627, allocations: 0 / 0.5674 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3627, allocations: 0 / 0.5674 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.3628, allocations: 124.7 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.3628, allocations: 0 / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3628, allocations: 0 / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3628, allocations: 4 kB / 0.5675 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.3629, allocations: 7.938 kB / 0.5675 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.3629, allocations: 4 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3629, allocations: 0 / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001101/0.363, allocations: 94.77 kB / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-06/0.363, allocations: 0 / 0.5676 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.363, allocations: 7.938 kB / 0.5676 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.363, allocations: 0 / 0.5676 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.29e-05/0.363, allocations: 4 kB / 0.5676 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.363, allocations: 4.031 kB / 0.5676 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.694e-05/0.3631, allocations: 79.28 kB / 0.5677 GB, free: 14.97 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3631, allocations: 0 / 0.5677 GB, free: 14.97 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002858/0.3634, allocations: 59.86 kB / 0.5677 GB, free: 14.91 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.0007993/0.3642, allocations: 326 kB / 0.568 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000105/0.3643, allocations: 59.39 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3643, allocations: 3.938 kB / 0.5681 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 5.335e-05/0.3643, allocations: 63.41 kB / 0.5682 GB, free: 14.49 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001459/0.3645, allocations: 11.94 kB / 0.5682 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.3647, allocations: 106.7 kB / 0.5683 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.365, allocations: 0.6729 MB / 0.5689 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.365, allocations: 11.44 kB / 0.5689 GB, free: 13.63 MB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.365, allocations: 0 / 0.5689 GB, free: 13.63 MB / 414.1 MB Notification: Performance of Templates: time 0.003953/0.369, allocations: 1.665 MB / 0.5706 GB, free: 11.97 MB / 414.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 -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/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-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: 8.301627886015922]