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.0007886/0.0007886, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008063/0.0008063, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.8651/0.8651, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoiseXorshift64star",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.088e-05, allocations: 10.28 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star): time 0.00148/0.001501, allocations: 0.9026 MB / 325.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004666/0.001967, allocations: 259.1 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.981e-05/0.002047, allocations: 4 kB / 325.7 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.551e-05/0.002093, allocations: 7.875 kB / 325.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.002419, allocations: 31.89 kB / 325.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.002598, allocations: 51.27 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.002706, allocations: 43.86 kB / 325.8 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.7e-05/0.002803, allocations: 12.17 kB / 325.8 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.848e-05/0.002852, allocations: 23.97 kB / 325.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.002921, allocations: 23.86 kB / 325.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.002939, allocations: 4 kB / 325.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.003012, allocations: 27.91 kB / 325.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.003066, allocations: 11.94 kB / 325.9 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.634e-05/0.003093, allocations: 23.91 kB / 325.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001474/0.00324, allocations: 75.77 kB / 326 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.003243, allocations: 4 kB / 326 MB, free: 14.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003244, allocations: 0 / 326 MB, free: 14.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.987e-06/0.003248, allocations: 0 / 326 MB, free: 14.39 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.000396/0.003644, allocations: 305.9 kB / 326.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.003682, allocations: 15.98 kB / 326.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.095e-05/0.003713, allocations: 34.75 kB / 326.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.766e-05/0.003741, allocations: 12.84 kB / 326.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.003925, allocations: 141.6 kB / 326.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.003938, allocations: 8.375 kB / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-06/0.003946, allocations: 384 / 326.5 MB, free: 13.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.004173, allocations: 145.5 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00418, allocations: 192 / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-06/0.004188, allocations: 384 / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.004194, allocations: 3.938 kB / 326.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.404e-05/0.004229, allocations: 16 kB / 326.7 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.004479, allocations: 244.7 kB / 326.9 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.208e-05/0.004561, allocations: 54.5 kB / 327 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.714e-05/0.004588, allocations: 20.86 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.004614, allocations: 4 kB / 327 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.004631, allocations: 30.56 kB / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.004632, allocations: 0 / 327 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001671/0.004799, allocations: 89.61 kB / 327.1 MB, free: 13.13 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.004841, allocations: 59.34 kB / 327.2 MB, free: 13.06 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.577e-05/0.004937, allocations: 149.6 kB / 327.3 MB, free: 12.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.004947, allocations: 29.69 kB / 327.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.00498, allocations: 88.14 kB / 327.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.004992, allocations: 4 kB / 327.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.005019, allocations: 17.72 kB / 327.5 MB, free: 12.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.74e-05/0.005096, allocations: 318.8 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.619e-05/0.005113, allocations: 8 kB / 327.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.301e-05/0.005136, allocations: 25.7 kB / 327.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.005169, allocations: 29.66 kB / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.005171, allocations: 0 / 327.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.994e-05/0.005241, allocations: 77.59 kB / 327.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.005253, allocations: 4 kB / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.005257, allocations: 144 / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005268, allocations: 0 / 327.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.005335, allocations: 15.92 kB / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.005339, allocations: 0 / 327.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.698e-05/0.005356, allocations: 4 kB / 327.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.005364, allocations: 0 / 327.9 MB, free: 12.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.974e-05/0.005444, allocations: 121.8 kB / 328.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.983e-05/0.005504, allocations: 73.53 kB / 328.1 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.005609, allocations: 86.42 kB / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.005612, allocations: 0 / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.005615, allocations: 0 / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.005618, allocations: 0 / 328.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.025e-05/0.005688, allocations: 152.6 kB / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.005693, allocations: 0 / 328.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.048e-05/0.005723, allocations: 4 kB / 328.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.005726, allocations: 4.188 kB / 328.4 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.005733, allocations: 4 kB / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.005734, allocations: 0 / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.005735, allocations: 0 / 328.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.979e-05/0.005815, allocations: 96.94 kB / 328.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.005847, allocations: 23.94 kB / 328.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/0.005863, allocations: 8 kB / 328.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.00588, allocations: 0 / 328.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-06/0.005883, allocations: 3.938 kB / 328.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.005892, allocations: 0 / 328.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.127e-05/0.005943, allocations: 114.5 kB / 328.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005943, allocations: 0 / 328.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001414/0.006085, allocations: 12 kB / 328.6 MB, free: 11.48 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 (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.0004445/0.006529, allocations: 0.6766 MB / 329.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.833e-05/0.006617, allocations: 35.92 kB / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.006619, allocations: 0 / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.2e-07/0.00662, allocations: 0 / 329.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.006869, allocations: 69.62 kB / 329.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008026/0.007672, allocations: 1.309 MB / 330.7 MB, free: 9.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.582e-05/0.007728, allocations: 87.53 kB / 330.8 MB, free: 9.164 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.377e-05/0.007751, allocations: 8.125 kB / 330.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.00779, allocations: 28.42 kB / 330.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of SimCode: time 1.223e-06/0.007792, allocations: 0 / 330.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01734/0.02513, allocations: 2.925 MB / 333.8 MB, free: 6.328 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.794/6.82, allocations: 7.734 kB / 333.8 MB, free: 6.324 MB / 298.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoiseXorshift64star_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000197981 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.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoiseXorshift64star/UniformNoiseXorshift64star.csv","/var/lib/jenkins/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:time,sample1.y,uniformNoiseXorshift64star.r64,uniformNoiseXorshift64star.u,uniformNoiseXorshift64star.y,const.k [Calling sys.exit(0), Time elapsed: 8.577953313477337]