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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001673/0.001673, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001984/0.001984, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 230.5 MB / 258.2 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002109/0.002109, allocations: 55.91 kB / 378.6 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3188, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002471/0.3213, allocations: 0.9008 MB / 432.9 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007181/0.322, allocations: 271 kB / 433.1 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.654e-05/0.3221, allocations: 4 kB / 433.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.922e-05/0.3222, allocations: 7.922 kB / 433.2 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003557/0.3226, allocations: 27.86 kB / 433.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.3228, allocations: 51.77 kB / 433.2 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001278/0.3229, allocations: 43.91 kB / 433.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.323, allocations: 12.17 kB / 433.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.3231, allocations: 19.92 kB / 433.3 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.454e-05/0.3231, allocations: 23.86 kB / 433.3 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.115e-05/0.3232, allocations: 4 kB / 433.3 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.134e-05/0.3232, allocations: 27.92 kB / 433.4 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.077e-05/0.3233, allocations: 19.92 kB / 433.4 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.3233, allocations: 31.78 kB / 433.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.3235, allocations: 80.48 kB / 433.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3235, allocations: 0 / 433.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3235, allocations: 0 / 433.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.835e-06/0.3236, allocations: 0 / 433.5 MB, free: 5.18 MB / 334.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.00054/0.3241, allocations: 313.9 kB / 433.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3241, allocations: 8.031 kB / 433.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.516e-05/0.3242, allocations: 4.188 kB / 433.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.895e-05/0.3242, allocations: 34.73 kB / 433.8 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.701e-05/0.3242, allocations: 12.84 kB / 433.9 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.3245, allocations: 136.7 kB / 434 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3245, allocations: 8.375 kB / 434 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.3245, allocations: 384 / 434 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003329/0.3248, allocations: 157.1 kB / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.3249, allocations: 0 / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-06/0.3249, allocations: 0 / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3249, allocations: 0 / 434.1 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.3249, allocations: 19.98 kB / 434.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.3253, allocations: 248.7 kB / 434.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001183/0.3254, allocations: 50.56 kB / 434.5 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.131e-05/0.3254, allocations: 16.92 kB / 434.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.3254, allocations: 0 / 434.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3255, allocations: 38.5 kB / 434.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.3255, allocations: 7.938 kB / 434.5 MB, free: 4 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002215/0.3257, allocations: 85.64 kB / 434.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.633e-05/0.3257, allocations: 59.41 kB / 434.7 MB, free: 3.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.3259, allocations: 148.5 kB / 434.8 MB, free: 3.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3259, allocations: 25.7 kB / 434.8 MB, free: 3.656 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.326, allocations: 88.14 kB / 434.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.326, allocations: 4 kB / 434.9 MB, free: 3.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.154e-05/0.3261, allocations: 33.64 kB / 435 MB, free: 3.523 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3262, allocations: 322.8 kB / 435.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.571e-05/0.3262, allocations: 16.17 kB / 435.3 MB, free: 3.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.963e-05/0.3263, allocations: 49.14 kB / 435.3 MB, free: 3.117 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.231e-05/0.3264, allocations: 69.03 kB / 435.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3264, allocations: 0 / 435.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001405/0.3265, allocations: 89.55 kB / 435.5 MB, free: 2.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3265, allocations: 8 kB / 435.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3265, allocations: 4.188 kB / 435.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.3265, allocations: 0 / 435.5 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3266, allocations: 15.98 kB / 435.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3267, allocations: 4 kB / 435.5 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.863e-05/0.3267, allocations: 7.953 kB / 435.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.3267, allocations: 0 / 435.5 MB, free: 2.898 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 0.000121/0.3268, allocations: 137.3 kB / 435.7 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3269, allocations: 65.64 kB / 435.7 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.3271, allocations: 78.39 kB / 435.8 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3271, allocations: 4 kB / 435.8 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3271, allocations: 3.938 kB / 435.8 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3271, allocations: 3.938 kB / 435.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001297/0.3272, allocations: 148.6 kB / 436 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.3272, allocations: 4 kB / 436 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.647e-05/0.3273, allocations: 4 kB / 436 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3273, allocations: 0 / 436 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3273, allocations: 4 kB / 436 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3273, allocations: 0 / 436 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3273, allocations: 0 / 436 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.3274, allocations: 105 kB / 436.1 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.628e-05/0.3275, allocations: 19.89 kB / 436.1 MB, free: 2.25 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.3275, allocations: 8 kB / 436.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.619e-05/0.3275, allocations: 3.938 kB / 436.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-06/0.3275, allocations: 0 / 436.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.3275, allocations: 0 / 436.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.047e-05/0.3276, allocations: 114 kB / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3276, allocations: 0 / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.3279, allocations: 20 kB / 436.2 MB, free: 2.109 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.0006663/0.3285, allocations: 0.6694 MB / 436.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.3287, allocations: 48.22 kB / 437 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.3287, allocations: 0 / 437 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.3287, allocations: 0 / 437 MB, free: 1.371 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.329, allocations: 65.64 kB / 437 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.3304, allocations: 1.388 MB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.3307, allocations: 0.7008 MB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.06e-05/0.3307, allocations: 11.7 kB / 439.1 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.608e-05/0.3308, allocations: 19.44 kB / 439.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3308, allocations: 0 / 439.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02383/0.3546, allocations: 2.457 MB / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.32, allocations: 14.95 kB / 441.6 MB, free: 12.7 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --stepSize=0.000197981 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,uniformNoiseXorshift64star.y Variables in the result:const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.useSolver,previous(uniformNoiseXorshift64star.state64[1]),previous(uniformNoiseXorshift64star.state64[2]),sample1.u,sample1.y,time,uniformNoiseXorshift64star.globalSeed,uniformNoiseXorshift64star.localSeed,uniformNoiseXorshift64star.noiseMax,uniformNoiseXorshift64star.noiseMin,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.state64[1],uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y [Calling sys.exit(0), Time elapsed: 13.853219451964833]