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.001537/0.001537, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001368/0.001368, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.424/1.424, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.00154/0.00154, allocations: 47.92 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.252, allocations: 53.36 MB / 431.9 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002165/0.2542, allocations: 0.9082 MB / 432.8 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006057/0.2548, allocations: 267.1 kB / 433.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.855e-05/0.2549, allocations: 4 kB / 433.1 MB, free: 5.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.137e-05/0.2549, allocations: 7.922 kB / 433.1 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.2552, allocations: 31.84 kB / 433.1 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.2555, allocations: 47.83 kB / 433.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.2556, allocations: 47.84 kB / 433.2 MB, free: 5.547 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2557, allocations: 8.188 kB / 433.2 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.2557, allocations: 19.92 kB / 433.3 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.158e-05/0.2558, allocations: 23.84 kB / 433.3 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.2558, allocations: 4 kB / 433.3 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.885e-05/0.2559, allocations: 31.92 kB / 433.3 MB, free: 5.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.256, allocations: 19.92 kB / 433.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.256, allocations: 27.8 kB / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.2562, allocations: 81.33 kB / 433.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2563, allocations: 0 / 433.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2563, allocations: 0 / 433.4 MB, free: 5.332 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2563, allocations: 0 / 433.4 MB, free: 5.332 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.0005446/0.2568, allocations: 309.9 kB / 433.7 MB, free: 5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.2568, allocations: 12.03 kB / 433.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.843e-05/0.2569, allocations: 192 / 433.8 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.2569, allocations: 42.73 kB / 433.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.273e-05/0.2569, allocations: 16.84 kB / 433.8 MB, free: 4.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.2572, allocations: 138.3 kB / 434 MB, free: 4.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.2573, allocations: 4.375 kB / 434 MB, free: 4.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2573, allocations: 4.375 kB / 434 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.2576, allocations: 149.1 kB / 434.1 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2576, allocations: 3.938 kB / 434.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.2576, allocations: 0 / 434.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.2576, allocations: 4 kB / 434.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.2577, allocations: 15.98 kB / 434.1 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003453/0.258, allocations: 248.7 kB / 434.4 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001142/0.2581, allocations: 50.56 kB / 434.4 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.2582, allocations: 20.92 kB / 434.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.575e-05/0.2582, allocations: 0 / 434.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.2582, allocations: 30.56 kB / 434.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.2582, allocations: 0 / 434.5 MB, free: 4.156 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000225/0.2585, allocations: 89.55 kB / 434.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.2585, allocations: 55.41 kB / 434.6 MB, free: 3.996 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.2587, allocations: 148.9 kB / 434.8 MB, free: 3.844 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.2587, allocations: 25.7 kB / 434.8 MB, free: 3.812 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.2588, allocations: 92.12 kB / 434.9 MB, free: 3.719 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.2588, allocations: 4 kB / 434.9 MB, free: 3.715 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.2588, allocations: 25.67 kB / 434.9 MB, free: 3.684 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.259, allocations: 322.8 kB / 435.2 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.321e-05/0.259, allocations: 15.98 kB / 435.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.2591, allocations: 49.16 kB / 435.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.358e-05/0.2591, allocations: 69.02 kB / 435.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2591, allocations: 0 / 435.4 MB, free: 3.191 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001385/0.2593, allocations: 89.55 kB / 435.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2593, allocations: 8 kB / 435.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2593, allocations: 0 / 435.4 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2593, allocations: 4 kB / 435.5 MB, free: 3.086 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.2594, allocations: 15.98 kB / 435.5 MB, free: 3.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2594, allocations: 4.188 kB / 435.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.166e-05/0.2595, allocations: 7.953 kB / 435.5 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.2595, allocations: 4 kB / 435.5 MB, free: 3.055 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.0001428/0.2596, allocations: 125.7 kB / 435.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.978e-05/0.2597, allocations: 73.83 kB / 435.7 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.2599, allocations: 74.39 kB / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.2599, allocations: 0 / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.2599, allocations: 0 / 435.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2599, allocations: 7.922 kB / 435.8 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.26, allocations: 160.5 kB / 435.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.26, allocations: 144 / 435.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.494e-05/0.2601, allocations: 7.938 kB / 435.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.2601, allocations: 3.984 kB / 435.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2601, allocations: 0 / 435.9 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/0.2601, allocations: 4 kB / 435.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2601, allocations: 0 / 435.9 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.2602, allocations: 97 kB / 436 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.158e-05/0.2602, allocations: 23.89 kB / 436 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.2603, allocations: 8 kB / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.522e-05/0.2603, allocations: 0 / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-06/0.2603, allocations: 0 / 436.1 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2603, allocations: 4 kB / 436.1 MB, free: 2.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.464e-05/0.2604, allocations: 107.2 kB / 436.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2604, allocations: 0 / 436.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000217/0.2606, allocations: 20 kB / 436.2 MB, free: 2.266 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.0006545/0.2613, allocations: 0.6782 MB / 436.9 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.2614, allocations: 43.91 kB / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2614, allocations: 0 / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.2614, allocations: 448 / 436.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.2617, allocations: 72.05 kB / 437 MB, free: 1.449 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.2631, allocations: 1.399 MB / 438.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.2635, allocations: 0.6963 MB / 439.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.227e-05/0.2635, allocations: 11.77 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.2635, allocations: 15.44 kB / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2635, allocations: 0 / 439.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.2852, allocations: 2.45 MB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/10.71, allocations: 11.12 kB / 441.6 MB, free: 12.89 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.151348670013249]