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.001435/0.001435, allocations: 109.1 kB / 21.18 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.001597/0.001597, allocations: 218 kB / 24.5 MB, free: 4.172 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.339/1.339, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.2191/0.2191, allocations: 46.93 MB / 361.5 MB, free: 4.195 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.002234/0.002234, allocations: 75.88 kB / 0.4974 GB, free: 7.281 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3169, allocations: 66.08 MB / 0.562 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001545/0.3184, allocations: 0.4969 MB / 0.5624 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.3213, allocations: 2.054 MB / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.32e-05/0.3213, allocations: 0 / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.3213, allocations: 0 / 0.5644 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.88e-06/0.3213, allocations: 0 / 0.5644 GB, free: 1.691 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.001286/0.3226, allocations: 0.5053 MB / 0.5649 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.419e-05/0.3227, allocations: 8 kB / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.494e-05/0.3227, allocations: 0 / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.386e-05/0.3227, allocations: 0 / 0.5649 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.638e-05/0.3227, allocations: 3.938 kB / 0.565 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.082e-06/0.3227, allocations: 4 kB / 0.565 GB, free: 1.172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001044/0.3238, allocations: 0.737 MB / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.341e-06/0.3238, allocations: 4 kB / 0.5657 GB, free: 440 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.693e-05/0.3238, allocations: 0 / 0.5657 GB, free: 440 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005265/0.3243, allocations: 389.5 kB / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.3243, allocations: 0 / 0.5661 GB, free: 56 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.3243, allocations: 3.984 kB / 0.5661 GB, free: 52 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3243, allocations: 0 / 0.5661 GB, free: 52 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.0004631/0.3248, allocations: 339.6 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.3248, allocations: 8.031 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.3249, allocations: 0.9375 kB / 0.5664 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.108e-05/0.3249, allocations: 110.5 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.3249, allocations: 384 / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.325, allocations: 4.375 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.49e-05/0.325, allocations: 38.02 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.325, allocations: 0 / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.244e-06/0.3251, allocations: 0 / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.3251, allocations: 0 / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.404e-05/0.3251, allocations: 3.984 kB / 0.5665 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.3252, allocations: 120.8 kB / 0.5667 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.56e-05/0.3252, allocations: 18.52 kB / 0.5667 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.494e-05/0.3253, allocations: 12.95 kB / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.466e-06/0.3253, allocations: 0 / 0.5667 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.546e-05/0.3253, allocations: 68.2 kB / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.3253, allocations: 0 / 0.5667 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001559/0.3255, allocations: 63.39 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.3255, allocations: 77.11 kB / 0.5669 GB, free: 15.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.167e-05/0.3256, allocations: 93.81 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3256, allocations: 25.83 kB / 0.567 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.3256, allocations: 92.08 kB / 0.5671 GB, free: 14.81 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.3257, allocations: 7.938 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.574e-05/0.3257, allocations: 9.719 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3258, allocations: 314.8 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.077e-05/0.3258, allocations: 4 kB / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.3258, allocations: 0 / 0.5674 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.87e-05/0.3259, allocations: 64.2 kB / 0.5675 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3259, allocations: 4.062 kB / 0.5675 GB, free: 14.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.842e-05/0.326, allocations: 63.41 kB / 0.5675 GB, free: 14.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.326, allocations: 37.62 kB / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.326, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.326, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.326, allocations: 0 / 0.5676 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.326, allocations: 3.938 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.307e-05/0.326, allocations: 4 kB / 0.5676 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.959e-06/0.326, allocations: 0 / 0.5676 GB, free: 14.26 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 8.455e-05/0.3261, allocations: 135.6 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.856e-06/0.3261, allocations: 7.938 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.906e-06/0.3261, allocations: 3 kB / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3261, allocations: 0 / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3261, allocations: 0 / 0.5677 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3261, allocations: 3.984 kB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.441e-05/0.3262, allocations: 120.8 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3262, allocations: 0 / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.185e-06/0.3262, allocations: 3.984 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3262, allocations: 3.938 kB / 0.5678 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3262, allocations: 4 kB / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.3263, allocations: 0 / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3263, allocations: 0 / 0.5678 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000101/0.3264, allocations: 90.83 kB / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-06/0.3264, allocations: 0 / 0.5679 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.3264, allocations: 7.938 kB / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-06/0.3264, allocations: 0 / 0.5679 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.468e-05/0.3264, allocations: 7.953 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-06/0.3264, allocations: 4 kB / 0.5679 GB, free: 13.79 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.004e-05/0.3264, allocations: 75.28 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3264, allocations: 3.938 kB / 0.568 GB, free: 13.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003639/0.3268, allocations: 127.6 kB / 0.5681 GB, free: 13.59 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.0006991/0.3275, allocations: 315.5 kB / 0.5684 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.3276, allocations: 55.41 kB / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3276, allocations: 0 / 0.5685 GB, free: 13.2 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.057e-05/0.3276, allocations: 63.39 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001251/0.3277, allocations: 4 kB / 0.5686 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.3279, allocations: 110.8 kB / 0.5687 GB, free: 12.98 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.3283, allocations: 0.6729 MB / 0.5693 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.472e-05/0.3283, allocations: 11.38 kB / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3283, allocations: 0 / 0.5693 GB, free: 12.27 MB / 414.1 MB Notification: Performance of Templates: time 0.006261/0.3345, allocations: 3.417 MB / 0.5727 GB, free: 8.852 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: 7.859823472099379]