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.001316/0.001316, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001401/0.001401, allocations: 208.7 kB / 24.51 MB, free: 3.941 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.481/1.481, allocations: 230.5 MB / 258.2 MB, free: 7.812 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.002534/0.002534, allocations: 55.91 kB / 378.5 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3524, allocations: 53.4 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.003063/0.3555, allocations: 0.8893 MB / 432.8 MB, free: 5.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008108/0.3563, allocations: 263.1 kB / 433.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001194/0.3564, allocations: 0 / 433.1 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.618e-05/0.3565, allocations: 7.938 kB / 433.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.3569, allocations: 31.84 kB / 433.1 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3572, allocations: 43.84 kB / 433.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3573, allocations: 43.91 kB / 433.2 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.3575, allocations: 18.28 kB / 433.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.3575, allocations: 19.86 kB / 433.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.3576, allocations: 19.92 kB / 433.2 MB, free: 5.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.355e-05/0.3576, allocations: 4 kB / 433.2 MB, free: 5.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.3577, allocations: 23.97 kB / 433.3 MB, free: 5.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.3e-05/0.3578, allocations: 15.94 kB / 433.3 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.3579, allocations: 27.8 kB / 433.3 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3581, allocations: 87.56 kB / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3581, allocations: 0 / 433.4 MB, free: 4.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3581, allocations: 7.938 kB / 433.4 MB, free: 4.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.3581, allocations: 0 / 433.4 MB, free: 4.977 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.0006418/0.3588, allocations: 305.9 kB / 433.7 MB, free: 4.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.3588, allocations: 12.03 kB / 433.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.637e-05/0.3588, allocations: 192 / 433.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.284e-05/0.3589, allocations: 38.75 kB / 433.8 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.3589, allocations: 12.84 kB / 433.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003445/0.3593, allocations: 138.3 kB / 433.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3593, allocations: 384 / 433.9 MB, free: 4.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.3593, allocations: 12.38 kB / 433.9 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.3597, allocations: 137.1 kB / 434 MB, free: 4.254 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3597, allocations: 7.969 kB / 434.1 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3597, allocations: 7.938 kB / 434.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.3597, allocations: 0 / 434.1 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/0.3598, allocations: 16 kB / 434.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003915/0.3602, allocations: 240.8 kB / 434.3 MB, free: 3.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.3603, allocations: 54.55 kB / 434.4 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.821e-05/0.3603, allocations: 20.92 kB / 434.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.793e-05/0.3604, allocations: 0 / 434.4 MB, free: 3.855 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.3604, allocations: 34.56 kB / 434.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.3604, allocations: 0 / 434.4 MB, free: 3.812 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002508/0.3607, allocations: 77.62 kB / 434.5 MB, free: 3.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.3607, allocations: 63.34 kB / 434.6 MB, free: 3.656 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001712/0.3609, allocations: 144.5 kB / 434.7 MB, free: 3.508 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3609, allocations: 25.7 kB / 434.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.361, allocations: 96.12 kB / 434.8 MB, free: 3.379 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.361, allocations: 4 kB / 434.8 MB, free: 3.375 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.904e-05/0.3611, allocations: 25.67 kB / 434.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001836/0.3613, allocations: 322.8 kB / 435.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.3613, allocations: 15.98 kB / 435.2 MB, free: 3.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.557e-05/0.3614, allocations: 45.16 kB / 435.2 MB, free: 2.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.316e-05/0.3614, allocations: 65.08 kB / 435.3 MB, free: 2.859 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3614, allocations: 4 kB / 435.3 MB, free: 2.855 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001645/0.3616, allocations: 89.55 kB / 435.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3616, allocations: 7.938 kB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3616, allocations: 4 kB / 435.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3617, allocations: 3.938 kB / 435.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3618, allocations: 19.92 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.3618, allocations: 4 kB / 435.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.666e-05/0.3618, allocations: 8.141 kB / 435.4 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.616e-06/0.3618, allocations: 4 kB / 435.4 MB, free: 2.711 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.0001633/0.362, allocations: 133.2 kB / 435.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001142/0.3621, allocations: 65.58 kB / 435.6 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.3623, allocations: 78.38 kB / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3623, allocations: 4 kB / 435.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.3623, allocations: 0 / 435.7 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.3623, allocations: 3.984 kB / 435.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3624, allocations: 144.8 kB / 435.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.3625, allocations: 4 kB / 435.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.574e-05/0.3625, allocations: 7.984 kB / 435.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3625, allocations: 4 kB / 435.9 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.724e-06/0.3625, allocations: 3.938 kB / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3625, allocations: 0 / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3625, allocations: 0 / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001555/0.3627, allocations: 101 kB / 436 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.443e-05/0.3627, allocations: 15.94 kB / 436 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.3627, allocations: 4 kB / 436 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.767e-05/0.3628, allocations: 0 / 436 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.316e-06/0.3628, allocations: 0 / 436 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.3628, allocations: 11.98 kB / 436 MB, free: 2.059 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.008e-05/0.3629, allocations: 106 kB / 436.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3629, allocations: 4 kB / 436.1 MB, free: 1.953 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.3631, allocations: 19.94 kB / 436.1 MB, free: 1.934 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.0007564/0.3639, allocations: 0.6775 MB / 436.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.364, allocations: 47.91 kB / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.364, allocations: 0 / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-07/0.364, allocations: 448 / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.3644, allocations: 69.69 kB / 436.9 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.3659, allocations: 1.387 MB / 438.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001009/0.366, allocations: 88.03 kB / 438.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.452e-05/0.366, allocations: 4 kB / 438.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.021e-05/0.3661, allocations: 19.42 kB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3661, allocations: 4 kB / 438.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02479/0.3909, allocations: 2.51 MB / 440.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.3, allocations: 10.97 kB / 440.9 MB, free: 13.1 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.93052573595196]