Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoiseXorshift64star.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoiseXorshift64star.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001015/0.001016, allocations: 105.3 kB / 296.7 MB, free: 6.484 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 51.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2939, allocations: 50.46 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002104/0.2961, allocations: 0.9424 MB / 408 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005286/0.2966, allocations: 259.2 kB / 408.3 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.2967, allocations: 2.562 kB / 408.3 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.58e-05/0.2968, allocations: 7.922 kB / 408.3 MB, free: 26.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000294/0.2971, allocations: 31.91 kB / 408.3 MB, free: 26.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001741/0.2973, allocations: 31.91 kB / 408.3 MB, free: 26.56 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.546e-05/0.2974, allocations: 43.86 kB / 408.4 MB, free: 26.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.2975, allocations: 22.91 kB / 408.4 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.015e-05/0.2975, allocations: 15.94 kB / 408.4 MB, free: 26.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.2976, allocations: 23.84 kB / 408.4 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.2976, allocations: 4 kB / 408.4 MB, free: 26.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.833e-05/0.2977, allocations: 19.98 kB / 408.5 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.2978, allocations: 19.92 kB / 408.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.897e-05/0.2978, allocations: 23.8 kB / 408.5 MB, free: 26.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.2979, allocations: 82.39 kB / 408.6 MB, free: 26.31 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.298, allocations: 3.938 kB / 408.6 MB, free: 26.31 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.298, allocations: 0 / 408.6 MB, free: 26.31 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.298, allocations: 0 / 408.6 MB, free: 26.31 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000447/0.2984, allocations: 380.8 kB / 409 MB, free: 25.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.2985, allocations: 12.03 kB / 409 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.2985, allocations: 12.84 kB / 409 MB, free: 25.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.2987, allocations: 196.1 kB / 409.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.2987, allocations: 384 / 409.2 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.2987, allocations: 8.375 kB / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002478/0.299, allocations: 141.5 kB / 409.3 MB, free: 25.47 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.299, allocations: 7.938 kB / 409.3 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.299, allocations: 0 / 409.3 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.299, allocations: 4 kB / 409.3 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.267e-05/0.2991, allocations: 19.92 kB / 409.3 MB, free: 25.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002449/0.2993, allocations: 277.6 kB / 409.6 MB, free: 25.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.853e-05/0.2994, allocations: 50.56 kB / 409.7 MB, free: 25.06 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.487e-05/0.2995, allocations: 20.92 kB / 409.7 MB, free: 25.04 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/0.2995, allocations: 4 kB / 409.7 MB, free: 25.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.673e-05/0.2995, allocations: 34.5 kB / 409.7 MB, free: 24.99 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.2995, allocations: 3.938 kB / 409.7 MB, free: 24.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001923/0.2997, allocations: 77.62 kB / 409.8 MB, free: 24.9 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.66e-05/0.2998, allocations: 59.41 kB / 409.9 MB, free: 24.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.2999, allocations: 144.2 kB / 410 MB, free: 24.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.2999, allocations: 29.7 kB / 410 MB, free: 24.65 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.3, allocations: 92.14 kB / 410.1 MB, free: 24.55 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.3, allocations: 3.906 kB / 410.1 MB, free: 24.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-05/0.3, allocations: 25.7 kB / 410.2 MB, free: 24.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.3001, allocations: 318.8 kB / 410.5 MB, free: 24.2 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.7e-05/0.3001, allocations: 15.98 kB / 410.5 MB, free: 24.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.3002, allocations: 57.08 kB / 410.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.269e-05/0.3002, allocations: 57.09 kB / 410.6 MB, free: 24.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3002, allocations: 8 kB / 410.6 MB, free: 24.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001085/0.3003, allocations: 89.45 kB / 410.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3004, allocations: 8 kB / 410.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3004, allocations: 0 / 410.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3004, allocations: 0 / 410.7 MB, free: 23.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.836e-05/0.3005, allocations: 19.92 kB / 410.7 MB, free: 23.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3005, allocations: 7.938 kB / 410.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.3005, allocations: 4.188 kB / 410.7 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.3006, allocations: 4 kB / 410.7 MB, free: 23.89 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 ($CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[1]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001282/0.3007, allocations: 142.8 kB / 410.9 MB, free: 23.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.543e-05/0.3008, allocations: 65.78 kB / 410.9 MB, free: 23.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.3009, allocations: 82.41 kB / 411 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3009, allocations: 4 kB / 411 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3009, allocations: 0 / 411 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.566e-06/0.3009, allocations: 0 / 411 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.045e-05/0.301, allocations: 177.5 kB / 411.2 MB, free: 23.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.301, allocations: 8 kB / 411.2 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.235e-05/0.3011, allocations: 4 kB / 411.2 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.3011, allocations: 0 / 411.2 MB, free: 23.35 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3011, allocations: 4 kB / 411.2 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.3011, allocations: 0 / 411.2 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3011, allocations: 0 / 411.2 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.3014, allocations: 0.659 MB / 411.9 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.838e-05/0.3014, allocations: 101 kB / 412 MB, free: 22.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.3015, allocations: 4 kB / 412 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.696e-05/0.3015, allocations: 7.938 kB / 412 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-06/0.3015, allocations: 3.938 kB / 412 MB, free: 22.49 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.3015, allocations: 4 kB / 412 MB, free: 22.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.173e-05/0.3016, allocations: 109.8 kB / 412.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3016, allocations: 0 / 412.1 MB, free: 22.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003137/0.3019, allocations: 20 kB / 412.1 MB, free: 22.36 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Number of discrete states: 0 () * Number of clocked states: 2 (uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002456/0.3021, allocations: 131.1 kB / 412.2 MB, free: 22.23 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.3023, allocations: 43.91 kB / 412.3 MB, free: 22.19 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3023, allocations: 0 / 412.3 MB, free: 22.19 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.3023, allocations: 0 / 412.3 MB, free: 22.19 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.3026, allocations: 65.78 kB / 412.3 MB, free: 22.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.3029, allocations: 305.9 kB / 412.6 MB, free: 21.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.3031, allocations: 0.7006 MB / 413.3 MB, free: 21.05 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.12e-05/0.3031, allocations: 7.984 kB / 413.4 MB, free: 21.04 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.3032, allocations: 11.44 kB / 413.4 MB, free: 21.03 MB / 298.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3032, allocations: 4 kB / 413.4 MB, free: 21.03 MB / 298.7 MB Notification: Performance of Templates: time 0.002904/0.3061, allocations: 1.006 MB / 414.4 MB, free: 20.04 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches