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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001447/0.001447, allocations: 114.2 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2243/0.2243, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4061, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001659/0.4078, allocations: 0.4977 MB / 0.5321 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002991/0.4108, allocations: 2.019 MB / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.355e-05/0.4109, allocations: 0 / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.4109, allocations: 0 / 0.5341 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.405e-06/0.4109, allocations: 3.938 kB / 0.5341 GB, free: 11.63 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.001526/0.4124, allocations: 0.4896 MB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.121e-05/0.4125, allocations: 5.125 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.4126, allocations: 1.125 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.4126, allocations: 1.531 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.087e-05/0.4126, allocations: 3.984 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.795e-06/0.4126, allocations: 5.375 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.4137, allocations: 0.6435 MB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.406e-06/0.4137, allocations: 0 / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.18e-05/0.4137, allocations: 4.875 kB / 0.5352 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000643/0.4144, allocations: 379.7 kB / 0.5356 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4144, allocations: 1.25 kB / 0.5356 GB, free: 10.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4144, allocations: 4 kB / 0.5356 GB, free: 10.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4144, allocations: 0 / 0.5356 GB, free: 10.74 MB / 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.000488/0.4149, allocations: 410.6 kB / 0.536 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.415, allocations: 8.844 kB / 0.536 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.415, allocations: 2.031 kB / 0.536 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.4151, allocations: 168.4 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.4151, allocations: 1.562 kB / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.4152, allocations: 384 / 0.5362 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.4153, allocations: 36.77 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.4153, allocations: 4 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4153, allocations: 0.9375 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.4153, allocations: 0 / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.883e-05/0.4153, allocations: 2.094 kB / 0.5362 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.4155, allocations: 154.8 kB / 0.5364 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.952e-05/0.4155, allocations: 15.83 kB / 0.5364 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.449e-05/0.4156, allocations: 6.141 kB / 0.5364 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.4156, allocations: 1.188 kB / 0.5364 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.468e-05/0.4156, allocations: 73.56 kB / 0.5365 GB, free: 9.754 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.4156, allocations: 0 / 0.5365 GB, free: 9.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001814/0.4158, allocations: 67.36 kB / 0.5365 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.4159, allocations: 77.11 kB / 0.5366 GB, free: 9.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.628e-05/0.4159, allocations: 91.02 kB / 0.5367 GB, free: 9.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.416, allocations: 25.7 kB / 0.5367 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.918e-05/0.416, allocations: 80.14 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.416, allocations: 5.281 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.416, allocations: 12.38 kB / 0.5368 GB, free: 9.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4162, allocations: 314.8 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.075e-05/0.4162, allocations: 5.125 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.851e-06/0.4162, allocations: 1.188 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.138e-05/0.4163, allocations: 67.72 kB / 0.5372 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4163, allocations: 0 / 0.5372 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.632e-05/0.4163, allocations: 62.5 kB / 0.5372 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.4164, allocations: 31.67 kB / 0.5373 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.4164, allocations: 3.938 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4164, allocations: 1.094 kB / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.4164, allocations: 0 / 0.5373 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.4164, allocations: 3.984 kB / 0.5373 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.541e-05/0.4165, allocations: 1.125 kB / 0.5373 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.156e-05/0.4165, allocations: 9.047 kB / 0.5373 GB, free: 8.848 MB / 398.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.879e-05/0.4166, allocations: 145.6 kB / 0.5374 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.4166, allocations: 5.219 kB / 0.5374 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.004e-05/0.4166, allocations: 7.062 kB / 0.5374 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.4166, allocations: 0 / 0.5374 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.4166, allocations: 1.125 kB / 0.5374 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.728e-05/0.4167, allocations: 81.02 kB / 0.5375 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.4167, allocations: 5.031 kB / 0.5375 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-06/0.4167, allocations: 1.156 kB / 0.5375 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.238e-05/0.4167, allocations: 5.016 kB / 0.5375 GB, free: 8.578 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001203/0.4168, allocations: 191.2 kB / 0.5377 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001424/0.417, allocations: 243.7 kB / 0.5379 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.054e-05/0.417, allocations: 6.094 kB / 0.5379 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.174e-05/0.4171, allocations: 75.28 kB / 0.538 GB, free: 8.047 MB / 398.1 MB Notification: Performance of Backend: time 4.01e-07/0.4171, allocations: 0 / 0.538 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.4182, allocations: 353.3 kB / 0.5384 GB, free: 7.82 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003879/0.4186, allocations: 0.5802 MB / 0.5389 GB, free: 7.188 MB / 398.1 MB Notification: Performance of Templates: time 0.007627/0.4262, allocations: 3.532 MB / 0.5424 GB, free: 5.387 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial.makefile (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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Math.Random.TestSpecial_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches