Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 112 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 186.9 kB / 23.71 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 225.6 MB / 252.5 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 43.92 kB / 370.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2428, allocations: 52.18 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.002261/0.2451, allocations: 0.9072 MB / 423.5 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000622/0.2457, allocations: 263.2 kB / 423.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.2458, allocations: 11.94 kB / 423.8 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.94e-05/0.2458, allocations: 7.922 kB / 423.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002815/0.2461, allocations: 27.86 kB / 423.8 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.2463, allocations: 43.14 kB / 423.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.2464, allocations: 55.78 kB / 423.9 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.529e-05/0.2465, allocations: 8.188 kB / 424 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/0.2466, allocations: 23.91 kB / 424 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.414e-05/0.2466, allocations: 19.86 kB / 424 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.782e-05/0.2466, allocations: 4 kB / 424 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.957e-05/0.2467, allocations: 19.98 kB / 424 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.2468, allocations: 27.92 kB / 424 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.2468, allocations: 23.81 kB / 424.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.247, allocations: 88.03 kB / 424.2 MB, free: 13.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.247, allocations: 3.938 kB / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.247, allocations: 0 / 424.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.247, allocations: 0 / 424.2 MB, free: 13.07 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.0004891/0.2475, allocations: 305.9 kB / 424.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.2475, allocations: 12.03 kB / 424.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.2476, allocations: 46.67 kB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.2476, allocations: 12.89 kB / 424.5 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.2479, allocations: 141.3 kB / 424.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2479, allocations: 4.375 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.2479, allocations: 4.375 kB / 424.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003628/0.2483, allocations: 149.2 kB / 424.8 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.2483, allocations: 4 kB / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2483, allocations: 0 / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.2483, allocations: 0 / 424.8 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.228e-05/0.2483, allocations: 27.92 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000306/0.2486, allocations: 240.8 kB / 425.1 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.2488, allocations: 46.58 kB / 425.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.152e-05/0.2488, allocations: 24.95 kB / 425.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.81e-05/0.2488, allocations: 0 / 425.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2489, allocations: 34.5 kB / 425.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.2489, allocations: 4 kB / 425.2 MB, free: 11.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001965/0.2491, allocations: 77.62 kB / 425.3 MB, free: 11.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.2491, allocations: 55.41 kB / 425.3 MB, free: 11.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.2492, allocations: 148.9 kB / 425.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.486e-05/0.2493, allocations: 25.7 kB / 425.5 MB, free: 11.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.473e-05/0.2493, allocations: 88.12 kB / 425.6 MB, free: 11.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.2493, allocations: 11.95 kB / 425.6 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.836e-05/0.2494, allocations: 17.72 kB / 425.6 MB, free: 11.44 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2495, allocations: 326.8 kB / 425.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.132e-05/0.2495, allocations: 15.92 kB / 425.9 MB, free: 11.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.863e-05/0.2496, allocations: 53.09 kB / 426 MB, free: 11.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.15e-05/0.2497, allocations: 65.08 kB / 426.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2497, allocations: 0 / 426.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001436/0.2498, allocations: 93.5 kB / 426.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2498, allocations: 4 kB / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.2499, allocations: 4 kB / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2499, allocations: 0 / 426.2 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.287e-05/0.2499, allocations: 15.98 kB / 426.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.25, allocations: 7.938 kB / 426.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.178e-05/0.25, allocations: 8.188 kB / 426.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.25, allocations: 4 kB / 426.2 MB, free: 10.8 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.0001103/0.2501, allocations: 125.9 kB / 426.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.2502, allocations: 73.59 kB / 426.4 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/0.2504, allocations: 82.33 kB / 426.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2504, allocations: 144 / 426.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2504, allocations: 0 / 426.5 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2504, allocations: 11.97 kB / 426.5 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.2505, allocations: 148.6 kB / 426.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.2505, allocations: 4 kB / 426.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.426e-05/0.2505, allocations: 4 kB / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2505, allocations: 4 kB / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.2505, allocations: 0 / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.2505, allocations: 0 / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.2505, allocations: 0 / 426.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.2507, allocations: 104.9 kB / 426.7 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.126e-05/0.2507, allocations: 15.95 kB / 426.8 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.2507, allocations: 7.984 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.992e-05/0.2508, allocations: 7.938 kB / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.625e-06/0.2508, allocations: 0 / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.2508, allocations: 0 / 426.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.708e-05/0.2509, allocations: 115.2 kB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2509, allocations: 0 / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.2511, allocations: 12 kB / 426.9 MB, free: 10.01 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.0006339/0.2517, allocations: 0.6812 MB / 427.6 MB, free: 9.309 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001291/0.2519, allocations: 43.86 kB / 427.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2519, allocations: 0 / 427.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2519, allocations: 0 / 427.6 MB, free: 9.266 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.2522, allocations: 72.25 kB / 427.7 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.2534, allocations: 1.395 MB / 429.1 MB, free: 7.684 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.2537, allocations: 0.7039 MB / 429.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.733e-05/0.2538, allocations: 4 kB / 429.8 MB, free: 6.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.2538, allocations: 23.42 kB / 429.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2538, allocations: 0 / 429.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/0.2814, allocations: 2.409 MB / 432.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.82, allocations: 10.72 kB / 432.2 MB, free: 4.656 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star_fmu --startTime=0 --stopTime=1 --stepSize=0.000197981 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.106032943120226]