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) 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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001942/0.001942, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002368/0.002368, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 63.92 kB / 307.1 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1104, allocations: 50.53 MB / 357.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002704/0.1131, allocations: 0.8876 MB / 358.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006839/0.1138, allocations: 247.1 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.114, allocations: 4 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.519e-05/0.1141, allocations: 3.938 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.1143, allocations: 15.86 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005494/0.1148, allocations: 95.8 kB / 358.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000139/0.115, allocations: 47.84 kB / 358.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.1151, allocations: 15.97 kB / 358.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.1151, allocations: 15.94 kB / 358.9 MB, free: 12.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.134e-05/0.1152, allocations: 19.86 kB / 358.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.386e-05/0.1153, allocations: 4 kB / 358.9 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1154, allocations: 51.89 kB / 359 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.64e-05/0.1155, allocations: 23.91 kB / 359 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.484e-05/0.1156, allocations: 27.81 kB / 359 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1158, allocations: 91.67 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.1158, allocations: 0 / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.1158, allocations: 0 / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1158, allocations: 0 / 359.1 MB, free: 12.51 MB / 302.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.000673/0.1165, allocations: 387.3 kB / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.1165, allocations: 8.031 kB / 359.5 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.087e-05/0.1166, allocations: 38.73 kB / 359.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/0.1167, allocations: 12.84 kB / 359.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1171, allocations: 192.1 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/0.1171, allocations: 16.3 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.832e-05/0.1171, allocations: 384 / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004384/0.1176, allocations: 157.5 kB / 359.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1176, allocations: 3.938 kB / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.1176, allocations: 0 / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1176, allocations: 0 / 359.9 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.682e-05/0.1177, allocations: 23.98 kB / 359.9 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004358/0.1182, allocations: 269.7 kB / 360.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.1183, allocations: 50.5 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.944e-05/0.1184, allocations: 24.86 kB / 360.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/0.1191, allocations: 0.5779 MB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.1192, allocations: 34.55 kB / 360.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.1192, allocations: 4 kB / 360.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002497/0.1194, allocations: 93.42 kB / 361 MB, free: 10.32 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.1195, allocations: 59.41 kB / 361 MB, free: 10.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.1196, allocations: 149.8 kB / 361.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.703e-05/0.1196, allocations: 25.7 kB / 361.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.1197, allocations: 88.14 kB / 361.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.062e-05/0.1197, allocations: 7.906 kB / 361.3 MB, free: 9.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.753e-05/0.1198, allocations: 25.7 kB / 361.3 MB, free: 9.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1199, allocations: 330.7 kB / 361.7 MB, free: 9.598 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.149e-05/0.1199, allocations: 15.98 kB / 361.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.12, allocations: 65.98 kB / 361.7 MB, free: 9.496 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.382e-05/0.1201, allocations: 81.88 kB / 361.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1201, allocations: 0 / 361.8 MB, free: 9.395 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001554/0.1202, allocations: 109.6 kB / 361.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1203, allocations: 8 kB / 361.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1203, allocations: 0 / 361.9 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1203, allocations: 4 kB / 361.9 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.1204, allocations: 23.92 kB / 362 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1204, allocations: 4 kB / 362 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.1205, allocations: 11.94 kB / 362 MB, free: 9.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.1205, allocations: 7.938 kB / 362 MB, free: 9.223 MB / 302.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.0001074/0.1206, allocations: 133.1 kB / 362.1 MB, free: 9.086 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.1207, allocations: 77.53 kB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001564/0.1208, allocations: 86.36 kB / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1209, allocations: 192 / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.1209, allocations: 0 / 362.3 MB, free: 8.914 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1209, allocations: 3.938 kB / 362.3 MB, free: 8.91 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.121, allocations: 177.6 kB / 362.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.121, allocations: 0 / 362.5 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.891e-05/0.1211, allocations: 4 kB / 362.5 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.236e-06/0.1211, allocations: 4 kB / 362.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1211, allocations: 11.92 kB / 362.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.1212, allocations: 0 / 362.5 MB, free: 8.668 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1212, allocations: 3.938 kB / 362.5 MB, free: 8.664 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001638/0.1213, allocations: 97.2 kB / 362.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.923e-05/0.1214, allocations: 97 kB / 362.7 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.1215, allocations: 3.984 kB / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.611e-05/0.1215, allocations: 0 / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-06/0.1215, allocations: 0 / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.493e-05/0.1215, allocations: 12 kB / 362.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.477e-05/0.1216, allocations: 118.6 kB / 362.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1216, allocations: 0 / 362.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000242/0.1219, allocations: 20 kB / 362.8 MB, free: 8.289 MB / 302.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.0006201/0.1225, allocations: 0.6709 MB / 363.5 MB, free: 7.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1227, allocations: 59.91 kB / 363.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1227, allocations: 0 / 363.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.1227, allocations: 0 / 363.5 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1231, allocations: 89.45 kB / 363.6 MB, free: 7.434 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009526/0.1241, allocations: 0.6076 MB / 364.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1243, allocations: 0.6963 MB / 364.9 MB, free: 6.027 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.1244, allocations: 9.078 kB / 364.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.1244, allocations: 19.44 kB / 365 MB, free: 5.996 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1244, allocations: 0 / 365 MB, free: 5.996 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.1455, allocations: 2.531 MB / 367.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.96/8.106, allocations: 4 kB / 367.5 MB, free: 3.555 MB / 302.1 MB (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.00044 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UniformNoise.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y,uniformNoise.y Variables in the result:time,sample1.y,uniformNoise.u,uniformNoise.y,const.k,const.y