Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial") translateModel(ModelicaTest.Math.Random.TestSpecial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_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.001198/0.001199, allocations: 110.5 kB / 18.46 MB, free: 4.594 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.00126/0.00126, allocations: 187.2 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 243.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2166/0.2166, allocations: 44.2 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3368, allocations: 60.81 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.Random.TestSpecial): time 0.001623/0.3385, allocations: 0.5091 MB / 0.5201 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002787/0.3413, allocations: 1.99 MB / 0.522 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.794e-05/0.3413, allocations: 0 / 0.522 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.514e-05/0.3414, allocations: 3.938 kB / 0.522 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.931e-06/0.3414, allocations: 0 / 0.522 GB, free: 1.891 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/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.001622/0.343, allocations: 0.4905 MB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 4.924e-05/0.3431, allocations: 2.062 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.3431, allocations: 2.219 kB / 0.5225 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.601e-05/0.3432, allocations: 5.125 kB / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.707e-05/0.3432, allocations: 0 / 0.5225 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.894e-06/0.3432, allocations: 5.219 kB / 0.5225 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.3443, allocations: 0.6255 MB / 0.5231 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.716e-06/0.3443, allocations: 0.9688 kB / 0.5231 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.3443, allocations: 1.734 kB / 0.5231 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006077/0.3449, allocations: 380.9 kB / 0.5235 GB, free: 1.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.345, allocations: 1.594 kB / 0.5235 GB, free: 1.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.345, allocations: 0 / 0.5235 GB, free: 1.402 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.345, allocations: 0 / 0.5235 GB, free: 1.402 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.0003892/0.3454, allocations: 409.9 kB / 0.5239 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3454, allocations: 8.031 kB / 0.5239 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.3455, allocations: 3 kB / 0.5239 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.575e-05/0.3455, allocations: 160.9 kB / 0.524 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3455, allocations: 5.656 kB / 0.524 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.3456, allocations: 5.562 kB / 0.524 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.202e-05/0.3457, allocations: 37.25 kB / 0.5241 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3457, allocations: 0 / 0.5241 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3457, allocations: 0.8438 kB / 0.5241 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3457, allocations: 0.5625 kB / 0.5241 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.3457, allocations: 1.156 kB / 0.5241 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.241e-05/0.3458, allocations: 149.5 kB / 0.5242 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.469e-05/0.3459, allocations: 16.94 kB / 0.5242 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.54e-05/0.3459, allocations: 10.94 kB / 0.5243 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.3459, allocations: 3.938 kB / 0.5243 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3459, allocations: 61.89 kB / 0.5243 GB, free: 444 kB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.3459, allocations: 1.219 kB / 0.5243 GB, free: 444 kB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001558/0.3461, allocations: 64.92 kB / 0.5244 GB, free: 376 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.3461, allocations: 78.67 kB / 0.5245 GB, free: 280 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.574e-05/0.3462, allocations: 89.86 kB / 0.5245 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.534e-06/0.3462, allocations: 34.83 kB / 0.5246 GB, free: 140 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.158e-05/0.3462, allocations: 80.7 kB / 0.5246 GB, free: 56 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.3462, allocations: 2 kB / 0.5247 GB, free: 56 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.3462, allocations: 11.55 kB / 0.5247 GB, free: 40 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.3464, allocations: 312.4 kB / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.007e-05/0.3464, allocations: 0 / 0.525 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-06/0.3464, allocations: 5.75 kB / 0.525 GB, free: 15.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.214e-05/0.3465, allocations: 68.25 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3465, allocations: 1.5 kB / 0.525 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.627e-05/0.3465, allocations: 60.38 kB / 0.5251 GB, free: 15.58 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.3466, allocations: 34.92 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3466, allocations: 4.688 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.3466, allocations: 0 / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.3466, allocations: 1.062 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.3466, allocations: 0.6562 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.703e-05/0.3467, allocations: 1.094 kB / 0.5251 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3467, allocations: 0 / 0.5251 GB, free: 15.55 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.099e-05/0.3467, allocations: 148.2 kB / 0.5253 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.099e-05/0.3468, allocations: 7.953 kB / 0.5253 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.303e-05/0.3468, allocations: 12.62 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3468, allocations: 4.547 kB / 0.5253 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3468, allocations: 5.094 kB / 0.5253 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.075e-05/0.3468, allocations: 77.67 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.3469, allocations: 1.656 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.328e-06/0.3469, allocations: 1.156 kB / 0.5254 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.697e-05/0.3469, allocations: 8.594 kB / 0.5254 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001127/0.347, allocations: 195.2 kB / 0.5256 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001372/0.3472, allocations: 241.4 kB / 0.5258 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.961e-05/0.3472, allocations: 3.797 kB / 0.5258 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 2.738e-05/0.3472, allocations: 75.28 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of Backend: time 3.01e-07/0.3472, allocations: 0 / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009768/0.3482, allocations: 336.1 kB / 0.5262 GB, free: 14.55 MB / 398.1 MB Notification: Performance of SimCode: time 0.0003144/0.3485, allocations: 0.5846 MB / 0.5268 GB, free: 13.91 MB / 398.1 MB Notification: Performance of Templates: time 0.006781/0.3553, allocations: 3.394 MB / 0.5301 GB, free: 12.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.sim & ./ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Math.Random.TestSpecial.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Math.Random.TestSpecial.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches