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.001589/0.001589, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001702/0.001702, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.413/1.413, allocations: 230.3 MB / 258 MB, free: 8.258 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.2211/0.2211, allocations: 46.89 MB / 361.3 MB, free: 4.449 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.002226/0.002226, allocations: 75.88 kB / 0.497 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.306, allocations: 66.03 MB / 0.5615 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001655/0.3077, allocations: 0.5048 MB / 0.562 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003096/0.3108, allocations: 2.046 MB / 0.564 GB, free: 2.062 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.3108, allocations: 4 kB / 0.564 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.009e-05/0.3108, allocations: 4 kB / 0.564 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.027e-06/0.3108, allocations: 3.938 kB / 0.564 GB, free: 2.051 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.001649/0.3125, allocations: 0.4977 MB / 0.5645 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.908e-05/0.3125, allocations: 4 kB / 0.5645 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.3126, allocations: 0 / 0.5645 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.412e-05/0.3126, allocations: 0 / 0.5645 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.278e-05/0.3126, allocations: 15.88 kB / 0.5645 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.033e-06/0.3126, allocations: 0 / 0.5645 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.3138, allocations: 0.7292 MB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.3139, allocations: 7.984 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.3139, allocations: 0 / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006331/0.3145, allocations: 385.6 kB / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.3145, allocations: 0 / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3145, allocations: 4 kB / 0.5656 GB, free: 432 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.3145, allocations: 0 / 0.5656 GB, free: 432 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.0004461/0.315, allocations: 347.3 kB / 0.566 GB, free: 48 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.315, allocations: 8.031 kB / 0.566 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.315, allocations: 4.938 kB / 0.566 GB, free: 36 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.3151, allocations: 102.5 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.3151, allocations: 4.312 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.3152, allocations: 384 / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.546e-05/0.3153, allocations: 34.02 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3153, allocations: 0 / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3153, allocations: 0 / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.3153, allocations: 4 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.719e-05/0.3153, allocations: 4 kB / 0.5661 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001362/0.3154, allocations: 120.8 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.8e-05/0.3155, allocations: 18.61 kB / 0.5663 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.342e-05/0.3155, allocations: 8.859 kB / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.3155, allocations: 0 / 0.5663 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.133e-05/0.3155, allocations: 60.2 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.3155, allocations: 4 kB / 0.5663 GB, free: 15.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001819/0.3157, allocations: 67.39 kB / 0.5664 GB, free: 15.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.3158, allocations: 81.05 kB / 0.5665 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.176e-05/0.3159, allocations: 93.81 kB / 0.5666 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3159, allocations: 29.7 kB / 0.5666 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.3159, allocations: 84.08 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.816e-05/0.3159, allocations: 3.984 kB / 0.5667 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.316, allocations: 9.719 kB / 0.5667 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3161, allocations: 323 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.189e-05/0.3161, allocations: 3.984 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.3161, allocations: 0 / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.3162, allocations: 60.27 kB / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3162, allocations: 0 / 0.567 GB, free: 14.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.466e-05/0.3163, allocations: 67.34 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.3163, allocations: 41.62 kB / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3163, allocations: 0 / 0.5671 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.3163, allocations: 4.094 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.3163, allocations: 4 kB / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.3163, allocations: 0 / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.25e-05/0.3163, allocations: 0 / 0.5672 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3163, allocations: 0 / 0.5672 GB, free: 14.63 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.416e-05/0.3164, allocations: 135.5 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.3164, allocations: 3.938 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.408e-06/0.3165, allocations: 3 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.3165, allocations: 0 / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.3165, allocations: 4 kB / 0.5673 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3165, allocations: 3.984 kB / 0.5673 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.3166, allocations: 116.8 kB / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.3166, allocations: 0 / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-07/0.3166, allocations: 0 / 0.5674 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3166, allocations: 7.875 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3166, allocations: 0 / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.3166, allocations: 0 / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3166, allocations: 4 kB / 0.5674 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001082/0.3167, allocations: 98.75 kB / 0.5675 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-06/0.3167, allocations: 8 kB / 0.5675 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3167, allocations: 3.938 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-06/0.3167, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.3167, allocations: 0 / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3167, allocations: 3.984 kB / 0.5675 GB, free: 14.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.777e-05/0.3168, allocations: 79.28 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3168, allocations: 3.938 kB / 0.5676 GB, free: 14.08 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004003/0.3172, allocations: 123.6 kB / 0.5677 GB, free: 13.96 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.0008178/0.318, allocations: 314.7 kB / 0.568 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 9.972e-05/0.3181, allocations: 59.41 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3181, allocations: 4 kB / 0.5681 GB, free: 13.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 4.276e-05/0.3181, allocations: 55.39 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001214/0.3183, allocations: 4 kB / 0.5681 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002084/0.3185, allocations: 92.94 kB / 0.5682 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.3188, allocations: 0.669 MB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.169e-06/0.3188, allocations: 0 / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.23e-05/0.3188, allocations: 7.438 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3188, allocations: 4.125 kB / 0.5689 GB, free: 12.68 MB / 414.1 MB Notification: Performance of Templates: time 0.007694/0.3265, allocations: 3.526 MB / 0.5723 GB, free: 9.156 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Math/Random/TestSpecial/TestSpecial.csv","/var/lib/jenkins/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: 5.079368516802788]