Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.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.001282/0.001282, allocations: 112.6 kB / 21.18 MB, free: 0.7422 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.00135/0.00135, allocations: 212.2 kB / 24.48 MB, free: 4.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.462/1.462, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2257/0.2257, allocations: 46.89 MB / 361.1 MB, free: 4.641 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.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal") [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.002386/0.002386, allocations: 83.86 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3329, allocations: 65.99 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001669/0.3346, allocations: 485 kB / 0.5616 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000677/0.3353, allocations: 269.4 kB / 0.5619 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.3353, allocations: 0 / 0.5619 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.926e-05/0.3353, allocations: 0 / 0.5619 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.983e-06/0.3353, allocations: 4 kB / 0.5619 GB, free: 4.297 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:398:3-453:15:writable] Warning: Pure function 'ModelicaTest.Utilities.Internal' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.3357, allocations: 55.81 kB / 0.562 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.939e-05/0.3357, allocations: 0 / 0.562 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.3358, allocations: 7.984 kB / 0.562 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.3358, allocations: 0 / 0.562 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.27e-05/0.3358, allocations: 0 / 0.562 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.395e-06/0.3358, allocations: 0 / 0.562 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001577/0.336, allocations: 67.94 kB / 0.562 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.725e-06/0.336, allocations: 0 / 0.562 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.49e-05/0.336, allocations: 4 kB / 0.562 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.3362, allocations: 51.67 kB / 0.5621 GB, free: 4.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3362, allocations: 4 kB / 0.5621 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.3362, allocations: 0 / 0.5621 GB, free: 4.113 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.3362, allocations: 0 / 0.5621 GB, free: 4.113 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.0004132/0.3366, allocations: 359.9 kB / 0.5624 GB, free: 3.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3366, allocations: 12.03 kB / 0.5624 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.24e-05/0.3366, allocations: 4.875 kB / 0.5624 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3368, allocations: 164.4 kB / 0.5626 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.3368, allocations: 384 / 0.5626 GB, free: 3.492 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.3368, allocations: 4.312 kB / 0.5626 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001085/0.3369, allocations: 34.27 kB / 0.5626 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3369, allocations: 192 / 0.5626 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.337, allocations: 3.938 kB / 0.5626 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.337, allocations: 0 / 0.5626 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.337, allocations: 4 kB / 0.5626 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.3371, allocations: 149.7 kB / 0.5628 GB, free: 3.246 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.606e-05/0.3372, allocations: 18.52 kB / 0.5628 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.3372, allocations: 8.953 kB / 0.5628 GB, free: 3.207 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.3372, allocations: 7.984 kB / 0.5628 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.3373, allocations: 56.27 kB / 0.5629 GB, free: 3.129 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.3373, allocations: 0 / 0.5629 GB, free: 3.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001935/0.3375, allocations: 75.31 kB / 0.563 GB, free: 3.043 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3375, allocations: 81.05 kB / 0.563 GB, free: 2.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.024e-05/0.3376, allocations: 97.75 kB / 0.5631 GB, free: 2.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3376, allocations: 25.7 kB / 0.5631 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.727e-05/0.3376, allocations: 84.27 kB / 0.5632 GB, free: 2.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.3376, allocations: 4 kB / 0.5632 GB, free: 2.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.3377, allocations: 9.719 kB / 0.5632 GB, free: 2.703 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.3378, allocations: 314.8 kB / 0.5635 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.3378, allocations: 8 kB / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-06/0.3378, allocations: 0 / 0.5635 GB, free: 2.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.06e-05/0.3379, allocations: 64.25 kB / 0.5636 GB, free: 2.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3379, allocations: 0 / 0.5636 GB, free: 2.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.172e-05/0.338, allocations: 59.47 kB / 0.5637 GB, free: 2.23 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.338, allocations: 33.7 kB / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.338, allocations: 0 / 0.5637 GB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.338, allocations: 3.938 kB / 0.5637 GB, free: 2.188 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.338, allocations: 3.938 kB / 0.5637 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.338, allocations: 0 / 0.5637 GB, free: 2.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.3381, allocations: 4 kB / 0.5637 GB, free: 2.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3381, allocations: 7.984 kB / 0.5637 GB, free: 2.172 MB / 398.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.0001012/0.3382, allocations: 131.6 kB / 0.5638 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.3382, allocations: 4 kB / 0.5638 GB, free: 2.023 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.058e-05/0.3382, allocations: 7.125 kB / 0.5639 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.3382, allocations: 3.938 kB / 0.5639 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3382, allocations: 0 / 0.5639 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.3382, allocations: 77.11 kB / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.3383, allocations: 0 / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-06/0.3383, allocations: 0 / 0.5639 GB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3383, allocations: 7.984 kB / 0.5639 GB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001469/0.3384, allocations: 194.1 kB / 0.5641 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001699/0.3386, allocations: 248.3 kB / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.67e-05/0.3386, allocations: 0 / 0.5644 GB, free: 1.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.354e-05/0.3387, allocations: 75.28 kB / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of Backend: time 3.91e-07/0.3387, allocations: 0 / 0.5644 GB, free: 1.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009373/0.3396, allocations: 309.2 kB / 0.5647 GB, free: 1.098 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004256/0.34, allocations: 0.5873 MB / 0.5653 GB, free: 460 kB / 398.1 MB Notification: Performance of Templates: time 0.003488/0.3435, allocations: 0.8088 MB / 0.5661 GB, free: 15.64 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestInternal.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.761340314056724]