Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.001911/0.001911, allocations: 107.5 kB / 20.44 MB, free: 1.355 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.002234/0.002234, allocations: 193.2 kB / 23.71 MB, free: 4.555 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.503/1.503, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 51.92 kB / 370.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2612, allocations: 52.18 MB / 422.6 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002496/0.2637, allocations: 0.8925 MB / 423.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005846/0.2643, allocations: 235.2 kB / 423.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.1e-05/0.2644, allocations: 3.938 kB / 423.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.2644, allocations: 3.938 kB / 423.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.2646, allocations: 15.92 kB / 423.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004137/0.265, allocations: 103.7 kB / 423.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001104/0.2651, allocations: 47.84 kB / 423.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.672e-05/0.2652, allocations: 15.98 kB / 423.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.372e-05/0.2652, allocations: 15.94 kB / 423.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.03e-05/0.2653, allocations: 27.84 kB / 423.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.2653, allocations: 0 / 423.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.529e-05/0.2654, allocations: 35.97 kB / 424 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.109e-05/0.2654, allocations: 27.91 kB / 424 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.768e-05/0.2655, allocations: 19.88 kB / 424 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.2657, allocations: 101.2 kB / 424.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2657, allocations: 4 kB / 424.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2657, allocations: 4 kB / 424.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.2657, allocations: 0 / 424.1 MB, free: 12.88 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000462/0.2661, allocations: 309 kB / 424.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.2662, allocations: 12.03 kB / 424.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2662, allocations: 38.69 kB / 424.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.016e-05/0.2662, allocations: 12.84 kB / 424.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002423/0.2665, allocations: 150.2 kB / 424.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2665, allocations: 4.375 kB / 424.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.2665, allocations: 4.375 kB / 424.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.2668, allocations: 149.6 kB / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2668, allocations: 3.938 kB / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.2668, allocations: 0 / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.2668, allocations: 0 / 424.8 MB, free: 12.13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.047e-05/0.2669, allocations: 27.91 kB / 424.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.2672, allocations: 240.8 kB / 425.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.651e-05/0.2673, allocations: 38.52 kB / 425.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.377e-05/0.2673, allocations: 24.89 kB / 425.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000391/0.2677, allocations: 55.94 kB / 425.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.2677, allocations: 34.56 kB / 425.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.2677, allocations: 0 / 425.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002065/0.2679, allocations: 93.64 kB / 425.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.268, allocations: 59.34 kB / 425.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.2681, allocations: 159.4 kB / 425.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.2682, allocations: 25.7 kB / 425.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.2682, allocations: 84.14 kB / 425.6 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.2682, allocations: 15.89 kB / 425.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.2683, allocations: 25.7 kB / 425.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.2684, allocations: 318.8 kB / 426 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.2684, allocations: 19.98 kB / 426 MB, free: 10.81 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.036e-05/0.2685, allocations: 62 kB / 426 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.948e-05/0.2686, allocations: 89.86 kB / 426.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2686, allocations: 0 / 426.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001554/0.2688, allocations: 105.5 kB / 426.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2688, allocations: 6.188 kB / 426.2 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2688, allocations: 8.406 kB / 426.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2688, allocations: 0 / 426.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.2689, allocations: 27.86 kB / 426.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.2689, allocations: 0 / 426.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.2689, allocations: 11.95 kB / 426.3 MB, free: 10.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.527e-06/0.2689, allocations: 7.938 kB / 426.3 MB, free: 10.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[1],uniformNoise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[3],uniformNoise.seedState[2],uniformNoise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000112/0.2691, allocations: 129.8 kB / 426.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2692, allocations: 73.58 kB / 426.5 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001489/0.2693, allocations: 82.39 kB / 426.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2693, allocations: 0 / 426.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.778e-06/0.2693, allocations: 4 kB / 426.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.2693, allocations: 0 / 426.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.2694, allocations: 148.6 kB / 426.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.2694, allocations: 0 / 426.7 MB, free: 9.957 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.414e-05/0.2695, allocations: 8 kB / 426.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2695, allocations: 0 / 426.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-06/0.2695, allocations: 0 / 426.7 MB, free: 9.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.2695, allocations: 7.984 kB / 426.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2695, allocations: 0 / 426.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.2696, allocations: 109.1 kB / 426.8 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.233e-05/0.2697, allocations: 23.94 kB / 426.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.2697, allocations: 4 kB / 426.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.227e-05/0.2697, allocations: 0 / 426.9 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-06/0.2697, allocations: 4 kB / 426.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.2697, allocations: 0 / 426.9 MB, free: 9.785 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.162e-05/0.2698, allocations: 121.4 kB / 427 MB, free: 9.668 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2698, allocations: 0 / 427 MB, free: 9.668 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002114/0.27, allocations: 16 kB / 427 MB, free: 9.652 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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * 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.0005258/0.2706, allocations: 0.6709 MB / 427.7 MB, free: 8.953 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000131/0.2707, allocations: 56.14 kB / 427.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.2707, allocations: 0 / 427.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.2707, allocations: 0 / 427.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.271, allocations: 85.38 kB / 427.8 MB, free: 8.812 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.2725, allocations: 1.471 MB / 429.3 MB, free: 7.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.967e-05/0.2726, allocations: 87.42 kB / 429.4 MB, free: 7.117 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.519e-05/0.2726, allocations: 8.672 kB / 429.4 MB, free: 7.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.324e-05/0.2726, allocations: 23.38 kB / 429.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2726, allocations: 0 / 429.4 MB, free: 7.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.3022, allocations: 3.208 MB / 432.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.53, allocations: 13.56 kB / 432.6 MB, free: 4.008 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000215433 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,sample1.y,uniformNoise.y Variables in the result:time,sample1.y,uniformNoise.u,uniformNoise.y,const.k,const.y [Calling sys.exit(0), Time elapsed: 14.151050124783069]