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.001491/0.001491, allocations: 112.7 kB / 20.43 MB, free: 1.309 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.001626/0.001626, allocations: 205.9 kB / 23.74 MB, free: 4.543 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.543/1.543, allocations: 230.5 MB / 257.4 MB, free: 8.016 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 59.89 kB / 377.8 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2591, allocations: 53.41 MB / 431.2 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.00224/0.2613, allocations: 0.9007 MB / 432.1 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006237/0.2619, allocations: 275.1 kB / 432.4 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.262, allocations: 4 kB / 432.4 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.719e-05/0.2621, allocations: 3.938 kB / 432.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002839/0.2624, allocations: 31.84 kB / 432.4 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.2625, allocations: 47.78 kB / 432.4 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.2627, allocations: 47.89 kB / 432.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.517e-05/0.2627, allocations: 12.17 kB / 432.5 MB, free: 5.371 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.476e-05/0.2628, allocations: 15.94 kB / 432.5 MB, free: 5.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.2628, allocations: 19.86 kB / 432.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.2629, allocations: 4 kB / 432.5 MB, free: 5.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.2629, allocations: 35.95 kB / 432.6 MB, free: 5.297 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.263, allocations: 15.94 kB / 432.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.263, allocations: 27.8 kB / 432.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.2632, allocations: 84 kB / 432.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.2632, allocations: 0 / 432.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2632, allocations: 0 / 432.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.786e-06/0.2632, allocations: 0 / 432.7 MB, free: 5.176 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.0005003/0.2637, allocations: 313.9 kB / 433 MB, free: 4.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2638, allocations: 12.03 kB / 433 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.2638, allocations: 30.75 kB / 433.1 MB, free: 4.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.161e-05/0.2638, allocations: 16.84 kB / 433.1 MB, free: 4.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.2641, allocations: 146.3 kB / 433.2 MB, free: 4.605 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/0.2641, allocations: 8.375 kB / 433.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.2641, allocations: 384 / 433.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.2644, allocations: 145.3 kB / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2644, allocations: 0 / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.2644, allocations: 7.984 kB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2644, allocations: 0 / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.805e-05/0.2645, allocations: 19.94 kB / 433.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003069/0.2648, allocations: 240.8 kB / 433.6 MB, free: 4.129 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.2649, allocations: 54.5 kB / 433.7 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.227e-05/0.2649, allocations: 20.92 kB / 433.7 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.265, allocations: 4.031 kB / 433.7 MB, free: 4.039 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.265, allocations: 34.56 kB / 433.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.265, allocations: 0 / 433.7 MB, free: 3.996 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002052/0.2652, allocations: 81.58 kB / 433.8 MB, free: 3.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.382e-05/0.2653, allocations: 55.41 kB / 433.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.2654, allocations: 160.5 kB / 434 MB, free: 3.68 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.2655, allocations: 25.7 kB / 434.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.878e-05/0.2655, allocations: 84.14 kB / 434.1 MB, free: 3.562 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.2655, allocations: 8 kB / 434.1 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.2656, allocations: 29.66 kB / 434.2 MB, free: 3.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2657, allocations: 318.8 kB / 434.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.177e-05/0.2657, allocations: 15.98 kB / 434.5 MB, free: 3.184 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.2658, allocations: 53.14 kB / 434.6 MB, free: 3.113 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.4e-05/0.2659, allocations: 57.08 kB / 434.6 MB, free: 3.039 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2659, allocations: 8 kB / 434.6 MB, free: 3.031 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001335/0.266, allocations: 81.56 kB / 434.7 MB, free: 2.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.266, allocations: 10.34 kB / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.266, allocations: 0 / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.2661, allocations: 0 / 434.7 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.659e-05/0.2661, allocations: 23.92 kB / 434.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.2661, allocations: 4 kB / 434.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.2662, allocations: 8.141 kB / 434.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.2662, allocations: 4 kB / 434.7 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.000132/0.2663, allocations: 137.1 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.915e-05/0.2664, allocations: 69.58 kB / 434.9 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.2666, allocations: 74.39 kB / 435 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2666, allocations: 4 kB / 435 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2666, allocations: 0 / 435 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.2666, allocations: 144 / 435 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2667, allocations: 152.5 kB / 435.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.2667, allocations: 11.98 kB / 435.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.382e-05/0.2668, allocations: 4 kB / 435.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2668, allocations: 0 / 435.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.2668, allocations: 4.172 kB / 435.2 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2668, allocations: 4 kB / 435.2 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2668, allocations: 3.938 kB / 435.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.2669, allocations: 97.02 kB / 435.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.2669, allocations: 19.89 kB / 435.3 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.267, allocations: 4 kB / 435.3 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.054e-05/0.267, allocations: 8 kB / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.267, allocations: 0 / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.267, allocations: 0 / 435.3 MB, free: 2.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.2671, allocations: 114 kB / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2671, allocations: 0 / 435.4 MB, free: 2.125 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002204/0.2673, allocations: 12 kB / 435.4 MB, free: 2.113 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.0006485/0.268, allocations: 0.6809 MB / 436.1 MB, free: 1.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.2681, allocations: 43.92 kB / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.2681, allocations: 0 / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2681, allocations: 0 / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.2684, allocations: 61.7 kB / 436.2 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2697, allocations: 1.4 MB / 437.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.2701, allocations: 0.6969 MB / 438.3 MB, free: 15.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.739e-05/0.2701, allocations: 7.781 kB / 438.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.2702, allocations: 19.44 kB / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2702, allocations: 0 / 438.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.2996, allocations: 2.422 MB / 440.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.27, allocations: 8 kB / 440.8 MB, free: 12.72 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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000197981 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.csv","/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:time,sample1.y,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y,const.k [Calling sys.exit(0), Time elapsed: 14.038808131001133]