Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002122/0.002122, allocations: 216.5 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.91 kB / 377.8 MB, free: 3.207 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3006, allocations: 53.35 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002434/0.3031, allocations: 0.9067 MB / 432 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000694/0.3038, allocations: 271.1 kB / 432.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.3039, allocations: 0 / 432.3 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.546e-05/0.3039, allocations: 11.88 kB / 432.3 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003288/0.3042, allocations: 31.84 kB / 432.4 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002123/0.3044, allocations: 43.89 kB / 432.4 MB, free: 5.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3046, allocations: 43.86 kB / 432.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.3047, allocations: 16.16 kB / 432.5 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.039e-05/0.3047, allocations: 19.92 kB / 432.5 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.917e-05/0.3048, allocations: 27.8 kB / 432.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.3048, allocations: 0 / 432.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.521e-05/0.3049, allocations: 23.98 kB / 432.5 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.454e-05/0.305, allocations: 19.92 kB / 432.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.305, allocations: 31.8 kB / 432.6 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3052, allocations: 80.06 kB / 432.7 MB, free: 5.352 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.3052, allocations: 4 kB / 432.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3052, allocations: 0 / 432.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.882e-06/0.3052, allocations: 0 / 432.7 MB, free: 5.348 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.0005649/0.3058, allocations: 309.9 kB / 433 MB, free: 5.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3058, allocations: 8.031 kB / 433 MB, free: 5.008 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.3059, allocations: 42.69 kB / 433 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.75e-05/0.3059, allocations: 12.84 kB / 433 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.3062, allocations: 138.4 kB / 433.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3062, allocations: 384 / 433.2 MB, free: 4.785 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.3062, allocations: 8.375 kB / 433.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003279/0.3066, allocations: 141.3 kB / 433.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.3066, allocations: 0 / 433.3 MB, free: 4.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.3066, allocations: 4 kB / 433.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.3066, allocations: 4 kB / 433.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.3066, allocations: 19.94 kB / 433.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.307, allocations: 248.7 kB / 433.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3071, allocations: 42.56 kB / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.844e-05/0.3072, allocations: 28.95 kB / 433.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.3072, allocations: 7.984 kB / 433.7 MB, free: 4.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3072, allocations: 30.56 kB / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.3072, allocations: 0 / 433.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002246/0.3075, allocations: 85.58 kB / 433.8 MB, free: 4.086 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.3075, allocations: 55.39 kB / 433.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3077, allocations: 148.9 kB / 434 MB, free: 3.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.3077, allocations: 25.7 kB / 434 MB, free: 3.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.3077, allocations: 100.1 kB / 434.1 MB, free: 3.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.3078, allocations: 7.984 kB / 434.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.3078, allocations: 25.67 kB / 434.1 MB, free: 3.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.308, allocations: 322.8 kB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.308, allocations: 8 kB / 434.4 MB, free: 3.363 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.3081, allocations: 53.14 kB / 434.5 MB, free: 3.293 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.871e-05/0.3082, allocations: 69.02 kB / 434.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3082, allocations: 0 / 434.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001497/0.3083, allocations: 89.55 kB / 434.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.3083, allocations: 8 kB / 434.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3083, allocations: 0 / 434.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3084, allocations: 4 kB / 434.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.3085, allocations: 12 kB / 434.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.3085, allocations: 4.141 kB / 434.7 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.567e-05/0.3085, allocations: 15.94 kB / 434.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.157e-06/0.3085, allocations: 4 kB / 434.7 MB, free: 3.066 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.000136/0.3087, allocations: 131.6 kB / 434.8 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.3087, allocations: 65.64 kB / 434.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.3089, allocations: 82.33 kB / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.3089, allocations: 0 / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.3089, allocations: 0 / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3089, allocations: 0 / 435 MB, free: 2.77 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.309, allocations: 152.6 kB / 435.1 MB, free: 2.578 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.3091, allocations: 3.984 kB / 435.1 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.668e-05/0.3091, allocations: 4.188 kB / 435.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.3091, allocations: 8 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.3091, allocations: 3.938 kB / 435.1 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3091, allocations: 7.938 kB / 435.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3091, allocations: 0 / 435.1 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.3092, allocations: 93.02 kB / 435.2 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3093, allocations: 19.89 kB / 435.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.3093, allocations: 7.984 kB / 435.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.55e-05/0.3093, allocations: 0 / 435.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-06/0.3093, allocations: 7.938 kB / 435.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3094, allocations: 4 kB / 435.3 MB, free: 2.402 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.833e-05/0.3094, allocations: 107.3 kB / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3094, allocations: 0 / 435.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.3097, allocations: 19.98 kB / 435.4 MB, free: 2.277 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.0007198/0.3104, allocations: 0.6638 MB / 436.1 MB, free: 1.594 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.3105, allocations: 39.92 kB / 436.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3105, allocations: 0 / 436.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-07/0.3105, allocations: 0 / 436.1 MB, free: 1.555 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.3108, allocations: 76.03 kB / 436.2 MB, free: 1.477 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.3122, allocations: 1.399 MB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003161/0.3125, allocations: 0.7041 MB / 438.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.032e-05/0.3125, allocations: 8.109 kB / 438.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.3126, allocations: 27.36 kB / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3126, allocations: 0 / 438.3 MB, free: 15.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03157/0.3441, allocations: 2.411 MB / 440.7 MB, free: 12.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.24, allocations: 14.41 kB / 440.7 MB, free: 12.92 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --stepSize=0.000197981 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.768189667025581]