Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.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.001669/0.001669, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002233/0.002233, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.519/1.519, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2378/0.2378, 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.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial") [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.002246/0.002246, allocations: 79.88 kB / 0.4968 GB, free: 7.824 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3256, allocations: 65.98 MB / 0.5612 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001547/0.3272, allocations: 0.5034 MB / 0.5617 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003104/0.3303, allocations: 2.054 MB / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.3303, allocations: 0 / 0.5637 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.702e-05/0.3303, allocations: 4 kB / 0.5637 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.932e-06/0.3303, allocations: 0 / 0.5637 GB, free: 2.457 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Math.mo:928:5-1011:16:writable] Warning: Pure function 'ModelicaTest.Math.Random.special' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.3318, allocations: 0.4948 MB / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.29e-05/0.3319, allocations: 0 / 0.5642 GB, free: 1.961 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.3319, allocations: 8 kB / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.398e-05/0.3319, allocations: 0 / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.664e-05/0.3319, allocations: 0 / 0.5642 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.462e-06/0.3319, allocations: 3.938 kB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.333, allocations: 0.6668 MB / 0.5648 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.684e-06/0.333, allocations: 4 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.631e-05/0.333, allocations: 4 kB / 0.5648 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.3335, allocations: 389.7 kB / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3335, allocations: 0 / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3335, allocations: 0 / 0.5652 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3335, allocations: 0 / 0.5652 GB, free: 0.8945 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.0004939/0.334, allocations: 420.5 kB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3341, allocations: 8.031 kB / 0.5656 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.3341, allocations: 4.922 kB / 0.5656 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.3342, allocations: 164.3 kB / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.3343, allocations: 384 / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.3343, allocations: 4.375 kB / 0.5658 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.3344, allocations: 34.02 kB / 0.5658 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.3344, allocations: 0 / 0.5658 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-06/0.3344, allocations: 0 / 0.5658 GB, free: 180 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.3344, allocations: 4 kB / 0.5658 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.674e-05/0.3344, allocations: 4 kB / 0.5658 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001608/0.3346, allocations: 145.7 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.25e-05/0.3346, allocations: 22.55 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.3346, allocations: 4.859 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.3346, allocations: 0 / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.3347, allocations: 64.2 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.3347, allocations: 4 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001815/0.3349, allocations: 63.45 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3349, allocations: 81.11 kB / 0.5662 GB, free: 15.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.738e-05/0.335, allocations: 97.75 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.335, allocations: 29.64 kB / 0.5663 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.18e-05/0.335, allocations: 80.14 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.3351, allocations: 4 kB / 0.5664 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3351, allocations: 17.66 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3352, allocations: 315 kB / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.3353, allocations: 0 / 0.5667 GB, free: 15.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.795e-06/0.3353, allocations: 3.984 kB / 0.5667 GB, free: 15.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.282e-05/0.3353, allocations: 60.27 kB / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3353, allocations: 0 / 0.5668 GB, free: 15.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.474e-05/0.3354, allocations: 63.41 kB / 0.5668 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.3355, allocations: 33.64 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3355, allocations: 4 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3355, allocations: 8.078 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.645e-06/0.3355, allocations: 3.938 kB / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.3355, allocations: 0 / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.443e-05/0.3355, allocations: 0 / 0.5669 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3355, allocations: 0 / 0.5669 GB, free: 14.91 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.312e-05/0.3356, allocations: 135.5 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.3356, allocations: 3.938 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.3356, allocations: 3.125 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3356, allocations: 4 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3356, allocations: 4 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3356, allocations: 4 kB / 0.567 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.3357, allocations: 149.7 kB / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.3357, allocations: 0 / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.3357, allocations: 0 / 0.5672 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3357, allocations: 3.938 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3357, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.3358, allocations: 4 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.3358, allocations: 0 / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.951e-05/0.3359, allocations: 90.83 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.3359, allocations: 81.11 kB / 0.5673 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3359, allocations: 7.875 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.065e-06/0.3359, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.515e-05/0.3359, allocations: 0 / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.3359, allocations: 3.984 kB / 0.5674 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.343e-05/0.336, allocations: 79.28 kB / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.336, allocations: 0 / 0.5674 GB, free: 14.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003765/0.3364, allocations: 123.6 kB / 0.5675 GB, free: 14.12 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.0007253/0.3371, allocations: 331 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001039/0.3372, allocations: 59.41 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3372, allocations: 0 / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.994e-05/0.3372, allocations: 59.39 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001185/0.3373, allocations: 4 kB / 0.568 GB, free: 13.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001792/0.3375, allocations: 89 kB / 0.5681 GB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.3378, allocations: 0.6767 MB / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.42e-06/0.3378, allocations: 0 / 0.5687 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.3378, allocations: 7.438 kB / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3378, allocations: 128 / 0.5687 GB, free: 12.82 MB / 414.1 MB Notification: Performance of Templates: time 0.007137/0.345, allocations: 3.523 MB / 0.5722 GB, free: 9.301 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.Random.TestSpecial.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.187516328878701]