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.00152/0.00152, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001742/0.001742, allocations: 218.7 kB / 24.52 MB, free: 3.914 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.381/1.381, allocations: 230.6 MB / 258.3 MB, free: 7.773 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 47.94 kB / 378.5 MB, free: 2.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2499, allocations: 53.37 MB / 431.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002496/0.2524, allocations: 0.8777 MB / 432.8 MB, free: 5.742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006215/0.253, allocations: 267.1 kB / 433 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.2531, allocations: 0 / 433 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.171e-05/0.2531, allocations: 7.938 kB / 433 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002746/0.2534, allocations: 31.84 kB / 433.1 MB, free: 5.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001911/0.2536, allocations: 47.83 kB / 433.1 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.2537, allocations: 43.86 kB / 433.1 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.738e-05/0.2538, allocations: 22.27 kB / 433.2 MB, free: 5.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.988e-05/0.2538, allocations: 11.94 kB / 433.2 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.2539, allocations: 27.84 kB / 433.2 MB, free: 5.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.2539, allocations: 4 kB / 433.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.2539, allocations: 19.98 kB / 433.2 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.571e-05/0.254, allocations: 19.86 kB / 433.2 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.191e-05/0.254, allocations: 27.86 kB / 433.3 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.2542, allocations: 83.64 kB / 433.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2542, allocations: 0 / 433.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2542, allocations: 0 / 433.4 MB, free: 5.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2542, allocations: 0 / 433.4 MB, free: 5.137 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.0004498/0.2547, allocations: 305.9 kB / 433.7 MB, free: 4.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2547, allocations: 12.03 kB / 433.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.102e-05/0.2547, allocations: 192 / 433.7 MB, free: 4.797 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.285e-05/0.2547, allocations: 34.75 kB / 433.7 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.2548, allocations: 20.78 kB / 433.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.255, allocations: 146.3 kB / 433.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.062e-06/0.255, allocations: 384 / 433.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.255, allocations: 8.375 kB / 433.9 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002913/0.2553, allocations: 145.1 kB / 434 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2553, allocations: 0 / 434 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.2554, allocations: 0 / 434 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2554, allocations: 4 kB / 434 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.274e-05/0.2554, allocations: 16 kB / 434 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.2557, allocations: 240.8 kB / 434.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.2558, allocations: 54.5 kB / 434.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.2559, allocations: 20.86 kB / 434.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.2559, allocations: 0 / 434.3 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.2559, allocations: 34.56 kB / 434.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 9.61e-07/0.2559, allocations: 0 / 434.4 MB, free: 3.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002027/0.2561, allocations: 81.61 kB / 434.5 MB, free: 3.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.2562, allocations: 59.41 kB / 434.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2563, allocations: 144.4 kB / 434.7 MB, free: 3.664 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.2563, allocations: 33.69 kB / 434.7 MB, free: 3.625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.2564, allocations: 92.14 kB / 434.8 MB, free: 3.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.591e-05/0.2564, allocations: 3.938 kB / 434.8 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.591e-05/0.2564, allocations: 29.66 kB / 434.8 MB, free: 3.492 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2566, allocations: 318.8 kB / 435.1 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.258e-05/0.2566, allocations: 19.97 kB / 435.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.499e-05/0.2567, allocations: 49.14 kB / 435.2 MB, free: 3.086 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/0.2567, allocations: 65.09 kB / 435.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.2567, allocations: 0 / 435.3 MB, free: 3.004 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000136/0.2569, allocations: 89.55 kB / 435.3 MB, free: 2.91 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.2569, allocations: 7.938 kB / 435.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.2569, allocations: 4 kB / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2569, allocations: 0 / 435.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.257, allocations: 20.17 kB / 435.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.257, allocations: 4 kB / 435.4 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.2571, allocations: 3.953 kB / 435.4 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.2571, allocations: 4 kB / 435.4 MB, free: 2.867 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.0001187/0.2572, allocations: 129.8 kB / 435.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.2573, allocations: 69.77 kB / 435.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.2574, allocations: 74.41 kB / 435.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2574, allocations: 7.984 kB / 435.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2574, allocations: 0 / 435.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2574, allocations: 0 / 435.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.2576, allocations: 144.6 kB / 435.8 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.2576, allocations: 7.984 kB / 435.8 MB, free: 2.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.964e-05/0.2576, allocations: 7.938 kB / 435.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2576, allocations: 0 / 435.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.2576, allocations: 0 / 435.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2576, allocations: 0 / 435.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2576, allocations: 0 / 435.8 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.2577, allocations: 105 kB / 435.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.378e-05/0.2578, allocations: 23.91 kB / 435.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.2578, allocations: 7.984 kB / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.838e-05/0.2578, allocations: 0 / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.562e-06/0.2578, allocations: 4 kB / 436 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.2579, allocations: 4 kB / 436 MB, free: 2.207 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.506e-05/0.2579, allocations: 110 kB / 436.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2579, allocations: 0 / 436.1 MB, free: 2.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002172/0.2582, allocations: 19.98 kB / 436.1 MB, free: 2.082 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.0006681/0.2588, allocations: 0.6781 MB / 436.8 MB, free: 1.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001232/0.259, allocations: 40.23 kB / 436.8 MB, free: 1.348 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.259, allocations: 4.125 kB / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-07/0.259, allocations: 0 / 436.8 MB, free: 1.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.2593, allocations: 69.69 kB / 436.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.2606, allocations: 1.391 MB / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.847e-05/0.2607, allocations: 87.38 kB / 438.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.506e-05/0.2607, allocations: 4 kB / 438.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.2608, allocations: 31.36 kB / 438.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2608, allocations: 0 / 438.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02252/0.2833, allocations: 2.499 MB / 440.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/10.75, allocations: 4.062 kB / 440.9 MB, free: 13.29 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] "" 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.179701559012756]