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/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) 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(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/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 204.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2603, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002095/0.2624, allocations: 0.8784 MB / 410.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005794/0.263, allocations: 259.2 kB / 411.1 MB, free: 448 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.968e-05/0.2631, allocations: 0 / 411.1 MB, free: 448 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.364e-05/0.2631, allocations: 7.875 kB / 411.1 MB, free: 440 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.2634, allocations: 27.86 kB / 411.1 MB, free: 412 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001875/0.2636, allocations: 39.89 kB / 411.1 MB, free: 372 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.2638, allocations: 55.83 kB / 411.2 MB, free: 316 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.906e-05/0.2639, allocations: 12.19 kB / 411.2 MB, free: 300 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.117e-05/0.2639, allocations: 15.92 kB / 411.2 MB, free: 284 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.947e-05/0.264, allocations: 27.86 kB / 411.3 MB, free: 256 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.264, allocations: 7.938 kB / 411.3 MB, free: 248 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.178e-05/0.2641, allocations: 23.97 kB / 411.3 MB, free: 224 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.2641, allocations: 15.92 kB / 411.3 MB, free: 208 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.2642, allocations: 27.81 kB / 411.3 MB, free: 180 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.2643, allocations: 79.7 kB / 411.4 MB, free: 100 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2643, allocations: 3.938 kB / 411.4 MB, free: 96 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2644, allocations: 0 / 411.4 MB, free: 96 kB / 318.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2644, allocations: 0 / 411.4 MB, free: 96 kB / 318.1 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.0004771/0.2648, allocations: 388.5 kB / 411.8 MB, free: 15.67 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.2649, allocations: 8.031 kB / 411.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.2649, allocations: 8.844 kB / 411.8 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.2652, allocations: 208 kB / 412 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.2652, allocations: 384 / 412 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.2652, allocations: 4.375 kB / 412 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.2655, allocations: 153.5 kB / 412.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.2655, allocations: 3.938 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2655, allocations: 4 kB / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2655, allocations: 0 / 412.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.66e-05/0.2656, allocations: 15.98 kB / 412.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002901/0.2659, allocations: 281.6 kB / 412.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.763e-05/0.266, allocations: 54.56 kB / 412.5 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.635e-05/0.266, allocations: 20.92 kB / 412.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.2661, allocations: 0 / 412.5 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.2661, allocations: 30.56 kB / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2661, allocations: 0 / 412.6 MB, free: 14.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001948/0.2663, allocations: 85.56 kB / 412.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.2663, allocations: 59.41 kB / 412.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.2665, allocations: 140.2 kB / 412.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.2665, allocations: 25.7 kB / 412.9 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.591e-05/0.2666, allocations: 96.12 kB / 413 MB, free: 14.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.2666, allocations: 0 / 413 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.2666, allocations: 25.62 kB / 413 MB, free: 14.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2667, allocations: 322.8 kB / 413.3 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.052e-05/0.2668, allocations: 15.98 kB / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.2668, allocations: 53.09 kB / 413.4 MB, free: 13.88 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.158e-05/0.2669, allocations: 73.02 kB / 413.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2669, allocations: 0 / 413.4 MB, free: 13.79 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001439/0.2671, allocations: 89.55 kB / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2671, allocations: 4 kB / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2671, allocations: 0 / 413.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2671, allocations: 4 kB / 413.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.2672, allocations: 20.11 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2672, allocations: 4 kB / 413.6 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.2673, allocations: 11.84 kB / 413.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.2673, allocations: 4 kB / 413.6 MB, free: 13.65 MB / 334.1 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 9.662e-05/0.2674, allocations: 133.7 kB / 413.7 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.297e-05/0.2675, allocations: 61.61 kB / 413.8 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.2676, allocations: 78.58 kB / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2676, allocations: 0 / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.2677, allocations: 3.984 kB / 413.8 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.2677, allocations: 7.938 kB / 413.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.2678, allocations: 177.6 kB / 414 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2678, allocations: 0 / 414 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.2678, allocations: 4 kB / 414 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.2678, allocations: 0 / 414 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.2679, allocations: 4 kB / 414 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.2679, allocations: 4 kB / 414 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2679, allocations: 0 / 414 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.268, allocations: 101 kB / 414.1 MB, free: 13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.2681, allocations: 89 kB / 414.2 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.233e-05/0.2681, allocations: 8 kB / 414.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.118e-05/0.2681, allocations: 0 / 414.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.214e-06/0.2681, allocations: 3.938 kB / 414.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.2682, allocations: 0 / 414.2 MB, free: 12.88 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.913e-05/0.2682, allocations: 113.5 kB / 414.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2682, allocations: 0 / 414.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.2685, allocations: 16 kB / 414.4 MB, free: 12.75 MB / 334.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: 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.0002516/0.2687, allocations: 138.2 kB / 414.5 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001177/0.2689, allocations: 39.92 kB / 414.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2689, allocations: 0 / 414.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.9e-07/0.2689, allocations: 0 / 414.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.2692, allocations: 68.66 kB / 414.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.2695, allocations: 199.7 kB / 414.8 MB, free: 12.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002427/0.2697, allocations: 0.7002 MB / 415.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.2698, allocations: 11.44 kB / 415.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2698, allocations: 0 / 415.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of Templates: time 0.002839/0.2726, allocations: 1.209 MB / 416.7 MB, free: 10.34 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches