Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.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.00185/0.00185, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002245/0.002245, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.423/1.423, allocations: 230.4 MB / 254 MB, free: 15.02 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.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.89 kB / 373 MB, free: 10.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1063, allocations: 53.38 MB / 426.4 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002257/0.1086, allocations: 0.8939 MB / 427.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006265/0.1092, allocations: 247.1 kB / 427.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.1093, allocations: 0 / 427.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.163e-05/0.1093, allocations: 7.922 kB / 427.5 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001531/0.1095, allocations: 15.86 kB / 427.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.1099, allocations: 95.78 kB / 427.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1101, allocations: 43.86 kB / 427.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.665e-05/0.1102, allocations: 19.97 kB / 427.7 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.1102, allocations: 15.94 kB / 427.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.1103, allocations: 31.78 kB / 427.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1103, allocations: 0 / 427.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.1104, allocations: 35.97 kB / 427.8 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.522e-05/0.1105, allocations: 23.92 kB / 427.8 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.1105, allocations: 35.78 kB / 427.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1107, allocations: 87.62 kB / 427.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1107, allocations: 0 / 427.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1107, allocations: 4 kB / 427.9 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.1107, allocations: 0 / 427.9 MB, free: 3.078 MB / 350.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.0005617/0.1113, allocations: 391 kB / 428.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1113, allocations: 8.031 kB / 428.3 MB, free: 2.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.139e-05/0.1114, allocations: 42.69 kB / 428.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.1114, allocations: 8.891 kB / 428.3 MB, free: 2.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.1117, allocations: 196.2 kB / 428.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.1117, allocations: 8.375 kB / 428.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.1117, allocations: 4.375 kB / 428.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.112, allocations: 157.4 kB / 428.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.112, allocations: 3.938 kB / 428.7 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.112, allocations: 3.984 kB / 428.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.1121, allocations: 3.938 kB / 428.7 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.251e-05/0.1121, allocations: 23.98 kB / 428.7 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003239/0.1124, allocations: 281.6 kB / 429 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.136e-05/0.1125, allocations: 30.58 kB / 429 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.636e-05/0.1126, allocations: 28.89 kB / 429.1 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007005/0.1133, allocations: 0.5817 MB / 429.7 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.1133, allocations: 30.56 kB / 429.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.1133, allocations: 0 / 429.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002169/0.1135, allocations: 85.58 kB / 429.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.1136, allocations: 63.41 kB / 429.8 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1137, allocations: 145.8 kB / 430 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.1137, allocations: 25.7 kB / 430 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.1138, allocations: 92.12 kB / 430.1 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1138, allocations: 7.953 kB / 430.1 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.1138, allocations: 21.72 kB / 430.1 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.114, allocations: 326.8 kB / 430.4 MB, free: 180 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.48e-05/0.114, allocations: 15.98 kB / 430.5 MB, free: 164 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-05/0.1141, allocations: 69.94 kB / 430.5 MB, free: 72 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.1142, allocations: 81.88 kB / 430.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1142, allocations: 0 / 430.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001578/0.1144, allocations: 113.4 kB / 430.7 MB, free: 15.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1144, allocations: 8 kB / 430.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1144, allocations: 0 / 430.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1144, allocations: 8.219 kB / 430.7 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.063e-05/0.1145, allocations: 12 kB / 430.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1145, allocations: 4 kB / 430.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.138e-05/0.1145, allocations: 15.94 kB / 430.8 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1145, allocations: 7.938 kB / 430.8 MB, free: 15.8 MB / 366.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.0001157/0.1146, allocations: 129.7 kB / 430.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.1147, allocations: 77.69 kB / 431 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.1149, allocations: 82.33 kB / 431.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1149, allocations: 8 kB / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1149, allocations: 0 / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1149, allocations: 4 kB / 431.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.1151, allocations: 177.7 kB / 431.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.1151, allocations: 0 / 431.2 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.467e-05/0.1151, allocations: 11.94 kB / 431.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.1151, allocations: 0 / 431.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1151, allocations: 0 / 431.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1151, allocations: 0 / 431.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1151, allocations: 0 / 431.2 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.1152, allocations: 113.2 kB / 431.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.1153, allocations: 97.05 kB / 431.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1153, allocations: 0 / 431.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.195e-05/0.1154, allocations: 0 / 431.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-06/0.1154, allocations: 4 kB / 431.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/0.1154, allocations: 4 kB / 431.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.85e-05/0.1155, allocations: 122.3 kB / 431.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1155, allocations: 0 / 431.6 MB, free: 14.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.1157, allocations: 20 kB / 431.6 MB, free: 14.86 MB / 366.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.0005793/0.1163, allocations: 0.6712 MB / 432.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.1164, allocations: 59.94 kB / 432.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1164, allocations: 448 / 432.3 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.389e-06/0.1164, allocations: 11.94 kB / 432.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.1168, allocations: 77.8 kB / 432.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.1182, allocations: 1.47 MB / 433.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1186, allocations: 0.6963 MB / 434.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 2.834e-05/0.1186, allocations: 8.656 kB / 434.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.661e-05/0.1187, allocations: 23.44 kB / 434.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1187, allocations: 0 / 434.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.1443, allocations: 2.622 MB / 437.2 MB, free: 9.141 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.602/7.746, allocations: 0 / 437.2 MB, free: 9.141 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.404844206990674]