Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006289/0.006289, allocations: 100.5 kB / 15.73 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 197.2 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.561/1.561, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3532/0.3532, allocations: 39.95 MB / 309.8 MB, free: 9.246 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 67.91 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3889, allocations: 56.87 MB / 492.6 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.002039/0.3911, allocations: 0.5012 MB / 493.1 MB, free: 19.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00493/0.396, allocations: 2.022 MB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.3961, allocations: 0 / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.467e-05/0.3961, allocations: 0 / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.157e-06/0.3961, allocations: 0 / 495.2 MB, free: 17.73 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:909:5-992: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.00249/0.3986, allocations: 0.4912 MB / 495.7 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.209e-05/0.3987, allocations: 6.594 kB / 495.7 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.3988, allocations: 4.609 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.658e-05/0.3988, allocations: 1.719 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.3989, allocations: 3.938 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.3989, allocations: 1.438 kB / 495.7 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.4006, allocations: 0.6262 MB / 496.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.4006, allocations: 0 / 496.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.107e-05/0.4006, allocations: 1.188 kB / 496.3 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009837/0.4016, allocations: 385.5 kB / 496.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4016, allocations: 0 / 496.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.4017, allocations: 1.594 kB / 496.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.4017, allocations: 0 / 496.7 MB, free: 17.23 MB / 382.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.0005482/0.4022, allocations: 405.2 kB / 497.1 MB, free: 16.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.216e-05/0.4023, allocations: 13.23 kB / 497.1 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.869e-05/0.4024, allocations: 6.344 kB / 497.1 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001135/0.4025, allocations: 161.6 kB / 497.3 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.4025, allocations: 384 / 497.3 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.4025, allocations: 1.906 kB / 497.3 MB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001366/0.4027, allocations: 34.08 kB / 497.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4027, allocations: 0 / 497.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.4027, allocations: 1.656 kB / 497.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.4027, allocations: 0 / 497.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.222e-05/0.4028, allocations: 1.969 kB / 497.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.4029, allocations: 164.5 kB / 497.5 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.455e-05/0.403, allocations: 16.52 kB / 497.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.403, allocations: 6.719 kB / 497.5 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.403, allocations: 0 / 497.5 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.4031, allocations: 66.27 kB / 497.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.272e-06/0.4031, allocations: 0 / 497.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002298/0.4033, allocations: 69.84 kB / 497.6 MB, free: 16.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.4034, allocations: 82.95 kB / 497.7 MB, free: 16.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.629e-05/0.4034, allocations: 89.86 kB / 497.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.4034, allocations: 27.66 kB / 497.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.18e-05/0.4035, allocations: 80.14 kB / 497.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.4035, allocations: 0 / 497.9 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.4035, allocations: 13.09 kB / 497.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.98e-05/0.4036, allocations: 316.8 kB / 498.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.4036, allocations: 3.938 kB / 498.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.123e-05/0.4037, allocations: 5.828 kB / 498.2 MB, free: 15.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.414e-05/0.4037, allocations: 60.69 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4037, allocations: 0.7031 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.788e-05/0.4038, allocations: 63.56 kB / 498.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.4039, allocations: 37.14 kB / 498.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4039, allocations: 0 / 498.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4039, allocations: 0 / 498.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.896e-06/0.4039, allocations: 2.156 kB / 498.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.4039, allocations: 4.094 kB / 498.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.3e-05/0.404, allocations: 3.938 kB / 498.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.404, allocations: 5.422 kB / 498.4 MB, free: 15.35 MB / 382.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.724e-05/0.4041, allocations: 138.5 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.4041, allocations: 6.234 kB / 498.5 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.4041, allocations: 3.781 kB / 498.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4041, allocations: 0.9375 kB / 498.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/0.4042, allocations: 0 / 498.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4042, allocations: 2.094 kB / 498.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001068/0.4043, allocations: 148.9 kB / 498.7 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4043, allocations: 0 / 498.7 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.4043, allocations: 0 / 498.7 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.4043, allocations: 5.984 kB / 498.7 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.4043, allocations: 0 / 498.7 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.4043, allocations: 0.9688 kB / 498.7 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4044, allocations: 0.5156 kB / 498.7 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.4045, allocations: 93.05 kB / 498.8 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.285e-05/0.4045, allocations: 82.8 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.425e-05/0.4046, allocations: 6.172 kB / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.05e-05/0.4046, allocations: 0 / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.4046, allocations: 1.219 kB / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4046, allocations: 0.75 kB / 498.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 1.995e-05/0.4047, allocations: 80.41 kB / 499 MB, free: 14.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4047, allocations: 0 / 499 MB, free: 14.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006482/0.4053, allocations: 122.3 kB / 499.1 MB, free: 14.69 MB / 382.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.001134/0.4065, allocations: 313 kB / 499.4 MB, free: 14.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001356/0.4066, allocations: 57.94 kB / 499.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.4066, allocations: 0 / 499.4 MB, free: 14.47 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.4067, allocations: 67.61 kB / 499.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.4069, allocations: 2.938 kB / 499.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000266/0.4072, allocations: 86.44 kB / 499.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/0.4074, allocations: 0.6756 MB / 0.4885 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.183e-06/0.4074, allocations: 0 / 0.4885 GB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.4074, allocations: 9.062 kB / 0.4885 GB, free: 13.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4074, allocations: 0 / 0.4885 GB, free: 13.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01207/0.4195, allocations: 3.391 MB / 0.4919 GB, free: 12.87 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1)