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.001104/0.001104, allocations: 114.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001267, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2147/0.2147, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 75.86 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3243, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001439/0.3258, allocations: 0.4968 MB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.3284, allocations: 2.022 MB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.3284, allocations: 1.375 kB / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.088e-05/0.3285, allocations: 0 / 0.5341 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.3285, allocations: 0 / 0.5341 GB, free: 11.65 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.00129/0.3298, allocations: 0.4964 MB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.918e-05/0.3298, allocations: 2.75 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.728e-05/0.3299, allocations: 0 / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.38e-05/0.3299, allocations: 5.375 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.627e-05/0.3299, allocations: 5.359 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.945e-06/0.3299, allocations: 0 / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009599/0.3309, allocations: 0.6388 MB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-06/0.3309, allocations: 1.25 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.707e-05/0.3309, allocations: 5.438 kB / 0.5353 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005437/0.3315, allocations: 383.8 kB / 0.5356 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3315, allocations: 0 / 0.5356 GB, free: 10.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3315, allocations: 0 / 0.5356 GB, free: 10.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.3315, allocations: 0 / 0.5356 GB, free: 10.77 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.0004437/0.3319, allocations: 410.9 kB / 0.536 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.332, allocations: 9.25 kB / 0.536 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.332, allocations: 2.031 kB / 0.536 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.3321, allocations: 160.4 kB / 0.5362 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3321, allocations: 9.469 kB / 0.5362 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.3322, allocations: 384 / 0.5362 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.571e-05/0.3322, allocations: 36.28 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3323, allocations: 1.25 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.774e-06/0.3323, allocations: 0 / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3323, allocations: 0 / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.3323, allocations: 6.25 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001203/0.3324, allocations: 150.6 kB / 0.5364 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.349e-05/0.3325, allocations: 27.66 kB / 0.5364 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.3325, allocations: 7.172 kB / 0.5364 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.332e-06/0.3325, allocations: 0 / 0.5364 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.3325, allocations: 69.27 kB / 0.5365 GB, free: 9.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.3326, allocations: 0 / 0.5365 GB, free: 9.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.3327, allocations: 67.44 kB / 0.5365 GB, free: 9.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.3328, allocations: 78.27 kB / 0.5366 GB, free: 9.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.577e-05/0.3328, allocations: 93.86 kB / 0.5367 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3328, allocations: 26.8 kB / 0.5367 GB, free: 9.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.325e-05/0.3329, allocations: 80.14 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.3329, allocations: 1.062 kB / 0.5368 GB, free: 9.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.3329, allocations: 15.83 kB / 0.5368 GB, free: 9.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.333, allocations: 318.8 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.333, allocations: 1.094 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.22e-06/0.3331, allocations: 1.031 kB / 0.5371 GB, free: 9.055 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.329e-05/0.3331, allocations: 64.45 kB / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3331, allocations: 0 / 0.5372 GB, free: 8.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.477e-05/0.3332, allocations: 66.14 kB / 0.5372 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/0.3332, allocations: 31.3 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.3332, allocations: 5.031 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.3332, allocations: 0 / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3332, allocations: 0 / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.3333, allocations: 0.9688 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.59e-05/0.3333, allocations: 1.188 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.3333, allocations: 4.031 kB / 0.5373 GB, free: 8.871 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 8.523e-05/0.3334, allocations: 141.6 kB / 0.5374 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-06/0.3334, allocations: 5.016 kB / 0.5374 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.875e-06/0.3334, allocations: 8 kB / 0.5374 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.3334, allocations: 0 / 0.5374 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3334, allocations: 1.219 kB / 0.5374 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.3335, allocations: 81.02 kB / 0.5375 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.3335, allocations: 1.281 kB / 0.5375 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.3335, allocations: 5.5 kB / 0.5375 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.3335, allocations: 0 / 0.5375 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000108/0.3336, allocations: 199.4 kB / 0.5377 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001308/0.3338, allocations: 239.6 kB / 0.5379 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.768e-05/0.3338, allocations: 2.781 kB / 0.5379 GB, free: 8.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.066e-05/0.3338, allocations: 75.28 kB / 0.538 GB, free: 8.078 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.3338, allocations: 4.062 kB / 0.538 GB, free: 8.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009418/0.3348, allocations: 353.4 kB / 0.5384 GB, free: 7.844 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003168/0.3351, allocations: 0.5808 MB / 0.5389 GB, free: 7.211 MB / 398.1 MB Notification: Performance of Templates: time 0.006582/0.3417, allocations: 3.531 MB / 0.5424 GB, free: 5.418 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