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.006788/0.006788, allocations: 110.2 kB / 21.98 MB, free: 5.18 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.001922/0.001922, allocations: 218.2 kB / 25.29 MB, free: 3.203 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.481/1.481, allocations: 230.5 MB / 258.9 MB, free: 8 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.2526/0.2526, allocations: 46.93 MB / 362.3 MB, free: 4.211 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.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.002322/0.002322, allocations: 79.86 kB / 0.4982 GB, free: 7.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3569, allocations: 66.08 MB / 0.5627 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001925/0.3589, allocations: 0.5047 MB / 0.5632 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003492/0.3624, allocations: 2.054 MB / 0.5652 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.827e-05/0.3624, allocations: 0 / 0.5652 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.415e-05/0.3624, allocations: 0 / 0.5652 GB, free: 1.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 6.281e-06/0.3624, allocations: 4 kB / 0.5652 GB, free: 1.672 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.001554/0.364, allocations: 0.5061 MB / 0.5657 GB, free: 1.168 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.967e-05/0.364, allocations: 4 kB / 0.5657 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.3641, allocations: 0 / 0.5657 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.218e-05/0.3641, allocations: 0 / 0.5657 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.266e-05/0.3641, allocations: 7.938 kB / 0.5657 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.454e-06/0.3641, allocations: 0 / 0.5657 GB, free: 1.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001282/0.3654, allocations: 0.7331 MB / 0.5665 GB, free: 432 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.859e-06/0.3654, allocations: 3.984 kB / 0.5665 GB, free: 428 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.051e-05/0.3654, allocations: 0 / 0.5665 GB, free: 428 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005699/0.366, allocations: 397.5 kB / 0.5668 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.366, allocations: 0 / 0.5668 GB, free: 36 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.366, allocations: 0 / 0.5668 GB, free: 36 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.366, allocations: 0 / 0.5668 GB, free: 36 kB / 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.0004852/0.3665, allocations: 335.6 kB / 0.5672 GB, free: 15.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3665, allocations: 16.03 kB / 0.5672 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3666, allocations: 0.9375 kB / 0.5672 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.96e-05/0.3667, allocations: 106.5 kB / 0.5673 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.3667, allocations: 4.312 kB / 0.5673 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.203e-06/0.3667, allocations: 384 / 0.5673 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.903e-05/0.3668, allocations: 42 kB / 0.5673 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3668, allocations: 0 / 0.5673 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.3668, allocations: 0 / 0.5673 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3668, allocations: 0 / 0.5673 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.177e-05/0.3668, allocations: 4 kB / 0.5673 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.3669, allocations: 116.8 kB / 0.5674 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.803e-05/0.367, allocations: 22.55 kB / 0.5675 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.367, allocations: 4.859 kB / 0.5675 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.367, allocations: 0 / 0.5675 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.573e-05/0.3671, allocations: 68.19 kB / 0.5675 GB, free: 15.19 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.3671, allocations: 0 / 0.5675 GB, free: 15.19 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.000186/0.3673, allocations: 63.47 kB / 0.5676 GB, free: 15.12 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.3673, allocations: 81.11 kB / 0.5677 GB, free: 15.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.523e-05/0.3674, allocations: 93.81 kB / 0.5677 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3674, allocations: 25.7 kB / 0.5678 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.789e-05/0.3675, allocations: 84.12 kB / 0.5679 GB, free: 14.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3675, allocations: 3.938 kB / 0.5679 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.3675, allocations: 21.7 kB / 0.5679 GB, free: 14.77 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.3677, allocations: 314.8 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.959e-06/0.3677, allocations: 4.125 kB / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-06/0.3678, allocations: 0 / 0.5682 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.799e-05/0.3678, allocations: 60.27 kB / 0.5682 GB, free: 14.38 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3678, allocations: 0 / 0.5682 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.928e-05/0.3679, allocations: 67.39 kB / 0.5683 GB, free: 14.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.368, allocations: 33.64 kB / 0.5683 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.368, allocations: 0 / 0.5683 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.368, allocations: 4 kB / 0.5683 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.368, allocations: 96 / 0.5683 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.368, allocations: 4 kB / 0.5683 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.368, allocations: 0 / 0.5683 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.368, allocations: 3.938 kB / 0.5683 GB, free: 14.25 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.767e-05/0.3681, allocations: 136.4 kB / 0.5685 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.3681, allocations: 7.922 kB / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/0.3681, allocations: 3 kB / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3681, allocations: 0 / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3681, allocations: 0 / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3681, allocations: 0 / 0.5685 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.3682, allocations: 124.8 kB / 0.5686 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.3682, allocations: 0 / 0.5686 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.365e-06/0.3682, allocations: 7.938 kB / 0.5686 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3682, allocations: 3.938 kB / 0.5686 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.3683, allocations: 3.984 kB / 0.5686 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.51e-07/0.3683, allocations: 4 kB / 0.5686 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3683, allocations: 0 / 0.5686 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.3684, allocations: 86.84 kB / 0.5687 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-06/0.3684, allocations: 7.984 kB / 0.5687 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.3684, allocations: 3.938 kB / 0.5687 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.506e-06/0.3684, allocations: 0 / 0.5687 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.3684, allocations: 7.922 kB / 0.5687 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3684, allocations: 4 kB / 0.5687 GB, free: 13.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.778e-05/0.3685, allocations: 75.28 kB / 0.5688 GB, free: 13.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3685, allocations: 0 / 0.5688 GB, free: 13.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004123/0.3689, allocations: 135.5 kB / 0.5689 GB, free: 13.56 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.0007511/0.3696, allocations: 297.5 kB / 0.5692 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3697, allocations: 63.39 kB / 0.5693 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3697, allocations: 4.062 kB / 0.5693 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.195e-05/0.3698, allocations: 55.41 kB / 0.5693 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001276/0.3699, allocations: 7.938 kB / 0.5693 GB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002133/0.3701, allocations: 110.7 kB / 0.5694 GB, free: 12.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003192/0.3704, allocations: 0.6729 MB / 0.5701 GB, free: 12.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.3705, allocations: 11.44 kB / 0.5701 GB, free: 12.26 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3705, allocations: 0 / 0.5701 GB, free: 12.26 MB / 414.1 MB Notification: Performance of Templates: time 0.006589/0.3771, allocations: 3.413 MB / 0.5734 GB, free: 8.84 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 9.034674905007705]