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.001751/0.001751, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002263/0.002263, allocations: 166.1 kB / 24.5 MB, free: 3.453 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.502/1.502, allocations: 177.1 MB / 204.7 MB, free: 9.02 MB / 190.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.2495/0.2495, allocations: 34.25 MB / 295.4 MB, free: 14.52 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.002421/0.002421, allocations: 83.88 kB / 443.1 MB, free: 6.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.3112, allocations: 66.05 MB / 0.4973 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001417/0.3126, allocations: 0.5062 MB / 0.4978 GB, free: 29.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002083/0.3147, allocations: 1.924 MB / 0.4996 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.435e-05/0.3147, allocations: 0 / 0.4996 GB, free: 28.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.03e-05/0.3147, allocations: 3.938 kB / 0.4996 GB, free: 28.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.358e-06/0.3147, allocations: 0 / 0.4996 GB, free: 28.25 MB / 446.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.001141/0.3159, allocations: 0.4966 MB / 0.5001 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.896e-05/0.3159, allocations: 3.984 kB / 0.5001 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.923e-05/0.3159, allocations: 3.375 kB / 0.5001 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.27e-05/0.3159, allocations: 0 / 0.5001 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.654e-05/0.316, allocations: 0 / 0.5001 GB, free: 28.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.991e-06/0.316, allocations: 4 kB / 0.5001 GB, free: 28.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000811/0.3168, allocations: 0.6689 MB / 0.5008 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.164e-06/0.3168, allocations: 0 / 0.5008 GB, free: 27.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.3168, allocations: 7.109 kB / 0.5008 GB, free: 27.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004419/0.3173, allocations: 387.5 kB / 0.5012 GB, free: 27.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3173, allocations: 0 / 0.5012 GB, free: 27.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3173, allocations: 0 / 0.5012 GB, free: 27.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3173, allocations: 0 / 0.5012 GB, free: 27.77 MB / 446.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.0003505/0.3176, allocations: 341.6 kB / 0.5015 GB, free: 27.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.3176, allocations: 9.562 kB / 0.5015 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.3177, allocations: 0.9375 kB / 0.5015 GB, free: 27.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.244e-05/0.3177, allocations: 106 kB / 0.5016 GB, free: 27.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.3178, allocations: 8.359 kB / 0.5016 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.273e-06/0.3178, allocations: 3.531 kB / 0.5016 GB, free: 27.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.423e-05/0.3178, allocations: 66.88 kB / 0.5017 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3179, allocations: 0 / 0.5017 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.026e-06/0.3179, allocations: 0 / 0.5017 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.3179, allocations: 0 / 0.5017 GB, free: 27.23 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.3179, allocations: 28.83 kB / 0.5017 GB, free: 27.2 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.974e-05/0.318, allocations: 96.61 kB / 0.5018 GB, free: 27.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.465e-05/0.318, allocations: 47.47 kB / 0.5018 GB, free: 27.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.74e-05/0.318, allocations: 37.69 kB / 0.5019 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.318, allocations: 0 / 0.5019 GB, free: 26.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.3181, allocations: 56.27 kB / 0.5019 GB, free: 26.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.3181, allocations: 0 / 0.5019 GB, free: 26.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001431/0.3182, allocations: 127.5 kB / 0.5021 GB, free: 26.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.3182, allocations: 77.11 kB / 0.5021 GB, free: 26.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.326e-05/0.3183, allocations: 97.38 kB / 0.5022 GB, free: 26.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.3183, allocations: 28.89 kB / 0.5022 GB, free: 26.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.325e-06/0.3183, allocations: 80.14 kB / 0.5023 GB, free: 26.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.18e-05/0.3183, allocations: 0 / 0.5023 GB, free: 26.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.3183, allocations: 12.84 kB / 0.5023 GB, free: 26.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.48e-05/0.3183, allocations: 310.8 kB / 0.5026 GB, free: 26.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.328e-05/0.3184, allocations: 32.77 kB / 0.5027 GB, free: 26.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.816e-06/0.3184, allocations: 37.7 kB / 0.5027 GB, free: 26.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.3184, allocations: 66.83 kB / 0.5028 GB, free: 25.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.3184, allocations: 0 / 0.5028 GB, free: 25.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.943e-05/0.3184, allocations: 86.64 kB / 0.5028 GB, free: 25.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.3185, allocations: 36.34 kB / 0.5029 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.3185, allocations: 3.125 kB / 0.5029 GB, free: 25.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3185, allocations: 3.938 kB / 0.5029 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.62e-07/0.3185, allocations: 0 / 0.5029 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.3185, allocations: 0 / 0.5029 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.31e-05/0.3185, allocations: 0 / 0.5029 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.3185, allocations: 4.031 kB / 0.5029 GB, free: 25.84 MB / 446.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 3.877e-05/0.3185, allocations: 138.5 kB / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.554e-06/0.3185, allocations: 6.844 kB / 0.503 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.385e-06/0.3186, allocations: 6.938 kB / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3186, allocations: 3.234 kB / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.3186, allocations: 0 / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.3186, allocations: 0 / 0.503 GB, free: 25.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.527e-05/0.3186, allocations: 100.3 kB / 0.5031 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.3186, allocations: 0 / 0.5031 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3186, allocations: 0 / 0.5031 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.3186, allocations: 0 / 0.5031 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.712e-06/0.3186, allocations: 7.188 kB / 0.5031 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3186, allocations: 3.938 kB / 0.5031 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3186, allocations: 0 / 0.5031 GB, free: 25.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.804e-05/0.3187, allocations: 116.4 kB / 0.5033 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-06/0.3187, allocations: 3.422 kB / 0.5033 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/0.3187, allocations: 3.125 kB / 0.5033 GB, free: 25.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-06/0.3187, allocations: 7.938 kB / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-06/0.3187, allocations: 0 / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.3187, allocations: 0 / 0.5033 GB, free: 25.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.085e-05/0.3187, allocations: 75.28 kB / 0.5033 GB, free: 25.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3187, allocations: 11.16 kB / 0.5034 GB, free: 25.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000357/0.3191, allocations: 128.9 kB / 0.5035 GB, free: 25.3 MB / 446.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.0006206/0.3197, allocations: 319.4 kB / 0.5038 GB, free: 25.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.34e-05/0.3198, allocations: 109 kB / 0.5039 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3198, allocations: 0 / 0.5039 GB, free: 25.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.158e-05/0.3198, allocations: 83.72 kB / 0.504 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001182/0.3199, allocations: 3.219 kB / 0.504 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001403/0.3201, allocations: 118 kB / 0.5041 GB, free: 24.78 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.418e-05/0.3201, allocations: 58.2 kB / 0.5041 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.99e-06/0.3201, allocations: 0 / 0.5041 GB, free: 24.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-06/0.3201, allocations: 8.5 kB / 0.5041 GB, free: 24.7 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3201, allocations: 128 / 0.5041 GB, free: 24.7 MB / 446.1 MB Notification: Performance of Templates: time 0.006324/0.3264, allocations: 3.525 MB / 0.5076 GB, free: 24.42 MB / 446.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 -s ida -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: 5.038743708981201]