Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 190.5 kB / 17.37 MB, free: 4.406 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 226.5 MB / 244.7 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007601/0.0007601, allocations: 103.1 kB / 296.7 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002562/0.0002563, allocations: 8 kB / 356.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2508, allocations: 51.28 MB / 408.1 MB, free: 27.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.0009409/0.2518, allocations: 0.5855 MB / 408.7 MB, free: 27.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004062/0.2522, allocations: 251.4 kB / 409 MB, free: 26.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.2523, allocations: 0 / 409 MB, free: 26.83 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.2523, allocations: 2.781 kB / 409 MB, free: 26.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002741/0.2526, allocations: 23.86 kB / 409 MB, free: 26.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.2528, allocations: 43.89 kB / 409 MB, free: 26.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.2528, allocations: 35.86 kB / 409.1 MB, free: 26.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.2529, allocations: 20.17 kB / 409.1 MB, free: 26.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.827e-05/0.253, allocations: 20.67 kB / 409.1 MB, free: 26.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.789e-05/0.253, allocations: 19.86 kB / 409.1 MB, free: 26.67 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.253, allocations: 1.594 kB / 409.1 MB, free: 26.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.343e-05/0.2531, allocations: 19.92 kB / 409.1 MB, free: 26.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.825e-05/0.2532, allocations: 19.92 kB / 409.2 MB, free: 26.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.06e-05/0.2532, allocations: 45.52 kB / 409.2 MB, free: 26.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.189e-05/0.2533, allocations: 61.28 kB / 409.3 MB, free: 26.52 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2533, allocations: 0 / 409.3 MB, free: 26.52 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2533, allocations: 0 / 409.3 MB, free: 26.52 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.2533, allocations: 0 / 409.3 MB, free: 26.52 MB / 298.7 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.0003832/0.2537, allocations: 365.7 kB / 409.6 MB, free: 26.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.2537, allocations: 8.562 kB / 409.6 MB, free: 26.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.568e-05/0.2538, allocations: 38.75 kB / 409.7 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.2538, allocations: 9.531 kB / 409.7 MB, free: 26.05 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.2539, allocations: 194.6 kB / 409.9 MB, free: 25.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.254, allocations: 12.25 kB / 409.9 MB, free: 25.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.254, allocations: 4.375 kB / 409.9 MB, free: 25.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.2542, allocations: 142.4 kB / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2542, allocations: 0 / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.2542, allocations: 5.547 kB / 410 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2543, allocations: 0 / 410 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.891e-05/0.2543, allocations: 19.94 kB / 410.1 MB, free: 25.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002294/0.2545, allocations: 279.1 kB / 410.3 MB, free: 25.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.734e-05/0.2546, allocations: 46.58 kB / 410.4 MB, free: 25.25 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.2547, allocations: 32.89 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.2547, allocations: 0 / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.356e-05/0.2547, allocations: 30.56 kB / 410.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.002e-06/0.2547, allocations: 0 / 410.4 MB, free: 25.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001511/0.2549, allocations: 81.58 kB / 410.5 MB, free: 25.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.2549, allocations: 51.41 kB / 410.6 MB, free: 25.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.255, allocations: 148.2 kB / 410.7 MB, free: 24.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-06/0.255, allocations: 25.7 kB / 410.7 MB, free: 24.85 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.178e-05/0.255, allocations: 96.06 kB / 410.8 MB, free: 24.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.2551, allocations: 7.906 kB / 410.8 MB, free: 24.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-06/0.2551, allocations: 0 / 410.8 MB, free: 24.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.952e-05/0.2551, allocations: 330.7 kB / 411.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.2551, allocations: 8 kB / 411.2 MB, free: 24.4 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.05e-05/0.2552, allocations: 57.12 kB / 411.2 MB, free: 24.33 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.273e-05/0.2552, allocations: 65.08 kB / 411.3 MB, free: 24.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2552, allocations: 3.938 kB / 411.3 MB, free: 24.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001087/0.2554, allocations: 89.47 kB / 411.4 MB, free: 24.15 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.2554, allocations: 11.98 kB / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2554, allocations: 0 / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2554, allocations: 4 kB / 411.4 MB, free: 24.13 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.332e-05/0.2555, allocations: 15.94 kB / 411.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.2555, allocations: 0 / 411.4 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.674e-05/0.2555, allocations: 8.188 kB / 411.4 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.2556, allocations: 4 kB / 411.4 MB, free: 24.11 MB / 298.7 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 (uniformNoiseXorshift64star.state64[2],$CLKPRE.uniformNoiseXorshift64star.state64[2],uniformNoiseXorshift64star.state64[1],$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.473e-05/0.2556, allocations: 133.1 kB / 411.5 MB, free: 23.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.2557, allocations: 69.72 kB / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.2558, allocations: 82.39 kB / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2559, allocations: 0 / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.2559, allocations: 0 / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2559, allocations: 0 / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.788e-05/0.2559, allocations: 177.6 kB / 411.9 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.2559, allocations: 4 kB / 411.9 MB, free: 23.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.256, allocations: 7.984 kB / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.256, allocations: 0 / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.256, allocations: 0 / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.256, allocations: 0 / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.256, allocations: 0 / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.357e-05/0.2561, allocations: 96.91 kB / 412 MB, free: 23.46 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.2561, allocations: 100.9 kB / 412.1 MB, free: 23.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.2562, allocations: 7.984 kB / 412.1 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.738e-05/0.2562, allocations: 4 kB / 412.1 MB, free: 23.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-06/0.2562, allocations: 4 kB / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2562, allocations: 0 / 412.1 MB, free: 23.32 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.578e-05/0.2563, allocations: 118.3 kB / 412.2 MB, free: 23.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2563, allocations: 0 / 412.2 MB, free: 23.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001981/0.2565, allocations: 16 kB / 412.2 MB, free: 23.2 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004019/0.2569, allocations: 0.6869 MB / 412.9 MB, free: 22.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.976e-05/0.257, allocations: 39.92 kB / 412.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.257, allocations: 0 / 412.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.257, allocations: 0 / 412.9 MB, free: 22.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.2573, allocations: 66.12 kB / 413 MB, free: 22.38 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.2578, allocations: 0.581 MB / 413.6 MB, free: 21.72 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.576e-05/0.2579, allocations: 0.6926 MB / 414.3 MB, free: 21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.258, allocations: 23.42 kB / 414.3 MB, free: 20.98 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.258, allocations: 0 / 414.3 MB, free: 20.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.745/3.003, allocations: 1.435 MB / 415.7 MB, free: 19.55 MB / 298.7 MB (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y,uniformNoiseXorshift64star.y Variables in the result:const.k,const.y,periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,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