Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001595/0.001595, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001937/0.001937, allocations: 214.8 kB / 24.48 MB, free: 3.836 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.5/1.5, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.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.2615/0.2615, allocations: 46.95 MB / 361.5 MB, free: 3.922 MB / 286.1 MB " [Timeout remaining time 180] 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.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00249/0.00249, allocations: 83.81 kB / 0.4974 GB, free: 7.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3761, allocations: 66.09 MB / 0.5619 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.00175/0.3779, allocations: 0.4993 MB / 0.5624 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.3813, allocations: 1.93 MB / 0.5643 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.3813, allocations: 0 / 0.5643 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.169e-05/0.3814, allocations: 4 kB / 0.5643 GB, free: 1.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.3814, allocations: 0 / 0.5643 GB, free: 1.527 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.001731/0.3831, allocations: 0.4924 MB / 0.5648 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.986e-05/0.3831, allocations: 4 kB / 0.5648 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.072e-05/0.3832, allocations: 4 kB / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.601e-05/0.3832, allocations: 0 / 0.5648 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.337e-05/0.3832, allocations: 3.984 kB / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.532e-06/0.3832, allocations: 0 / 0.5648 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.3844, allocations: 0.6667 MB / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-06/0.3844, allocations: 0 / 0.5654 GB, free: 364 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.3844, allocations: 3.938 kB / 0.5654 GB, free: 360 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005998/0.385, allocations: 393.5 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.385, allocations: 3.938 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.385, allocations: 0 / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.385, allocations: 4 kB / 0.5658 GB, free: 15.96 MB / 414.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.0004656/0.3855, allocations: 331.4 kB / 0.5661 GB, free: 15.61 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3855, allocations: 12.03 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.3855, allocations: 4.875 kB / 0.5661 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.68e-05/0.3856, allocations: 114.5 kB / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3856, allocations: 384 / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.076e-06/0.3857, allocations: 384 / 0.5662 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.3858, allocations: 63.66 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.3858, allocations: 0 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.3858, allocations: 0 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.3858, allocations: 0 / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.142e-05/0.3858, allocations: 29.7 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.386, allocations: 97.31 kB / 0.5664 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.803e-05/0.386, allocations: 48.31 kB / 0.5665 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.3861, allocations: 34.56 kB / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.889e-06/0.3861, allocations: 0 / 0.5665 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.3861, allocations: 64.27 kB / 0.5666 GB, free: 15.04 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 3.016e-06/0.3861, allocations: 3.984 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002172/0.3863, allocations: 122.7 kB / 0.5667 GB, free: 14.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.119e-05/0.3864, allocations: 77.11 kB / 0.5668 GB, free: 14.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.177e-05/0.3865, allocations: 93.81 kB / 0.5669 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.3865, allocations: 29.7 kB / 0.5669 GB, free: 14.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.458e-05/0.3865, allocations: 80.14 kB / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.3865, allocations: 0 / 0.567 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.3866, allocations: 13.84 kB / 0.567 GB, free: 14.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3867, allocations: 318.8 kB / 0.5673 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.539e-05/0.3867, allocations: 29.7 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.3868, allocations: 25.7 kB / 0.5673 GB, free: 14.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.856e-05/0.3868, allocations: 64.2 kB / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3868, allocations: 0 / 0.5674 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.158e-05/0.3869, allocations: 93.09 kB / 0.5675 GB, free: 13.98 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.056e-05/0.387, allocations: 33.7 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.387, allocations: 3.938 kB / 0.5675 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.387, allocations: 8.031 kB / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.387, allocations: 0 / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.387, allocations: 0 / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.563e-05/0.387, allocations: 0 / 0.5675 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.387, allocations: 4 kB / 0.5675 GB, free: 13.93 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.0001018/0.3871, allocations: 131.5 kB / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.353e-06/0.3871, allocations: 0 / 0.5677 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.641e-05/0.3871, allocations: 14.92 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.3871, allocations: 0 / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3871, allocations: 0 / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3872, allocations: 3.938 kB / 0.5677 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.639e-05/0.3872, allocations: 97.33 kB / 0.5678 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.3872, allocations: 7.938 kB / 0.5678 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.796e-06/0.3872, allocations: 4 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.3872, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3873, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.3873, allocations: 3.938 kB / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3873, allocations: 0 / 0.5678 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001189/0.3874, allocations: 116.5 kB / 0.5679 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-06/0.3874, allocations: 4 kB / 0.5679 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3874, allocations: 7.984 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.17e-05/0.3874, allocations: 7.969 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.3874, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.3874, allocations: 0 / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.42e-05/0.3875, allocations: 75.28 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3875, allocations: 4 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004298/0.3879, allocations: 127.6 kB / 0.5681 GB, free: 13.25 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.000822/0.3887, allocations: 322.3 kB / 0.5684 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001452/0.3889, allocations: 114.8 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3889, allocations: 0 / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.713e-05/0.3889, allocations: 81.11 kB / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.3891, allocations: 0 / 0.5686 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002646/0.3893, allocations: 144.5 kB / 0.5687 GB, free: 12.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.547e-05/0.3894, allocations: 59.36 kB / 0.5688 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.499e-05/0.3894, allocations: 7.438 kB / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3894, allocations: 0 / 0.5688 GB, free: 12.43 MB / 414.1 MB Notification: Performance of Templates: time 0.006962/0.3964, allocations: 3.417 MB / 0.5721 GB, free: 9.012 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 8.996350005734712]