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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|uniformNoise.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 104.2 kB / 17.59 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 242.2 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 55.39 kB / 301.3 MB, free: 5.859 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1054, allocations: 49.45 MB / 350.7 MB, free: 4.406 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise): time 0.002556/0.108, allocations: 0.8717 MB / 351.6 MB, free: 3.527 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006853/0.1087, allocations: 255.1 kB / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.727e-05/0.1088, allocations: 0 / 351.9 MB, free: 3.277 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.45e-05/0.1089, allocations: 11.92 kB / 351.9 MB, free: 3.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.109, allocations: 11.88 kB / 351.9 MB, free: 3.254 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.1096, allocations: 98.02 kB / 352 MB, free: 3.16 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.1097, allocations: 43.86 kB / 352 MB, free: 3.117 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.1099, allocations: 15.98 kB / 352 MB, free: 3.102 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.1099, allocations: 15.94 kB / 352.1 MB, free: 3.086 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.062e-05/0.11, allocations: 23.84 kB / 352.1 MB, free: 3.062 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.11, allocations: 4 kB / 352.1 MB, free: 3.059 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1102, allocations: 43.91 kB / 352.1 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.611e-05/0.1102, allocations: 23.91 kB / 352.1 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.596e-05/0.1103, allocations: 27.81 kB / 352.2 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.1105, allocations: 91.69 kB / 352.3 MB, free: 2.875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1105, allocations: 0 / 352.3 MB, free: 2.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1105, allocations: 4 kB / 352.3 MB, free: 2.871 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.1105, allocations: 0 / 352.3 MB, free: 2.871 MB / 286.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.0005953/0.1111, allocations: 387.3 kB / 352.6 MB, free: 2.441 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.1112, allocations: 11.89 kB / 352.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.701e-05/0.1113, allocations: 12.84 kB / 352.7 MB, free: 2.418 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.1115, allocations: 200.1 kB / 352.9 MB, free: 2.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.1115, allocations: 4.375 kB / 352.9 MB, free: 2.18 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1116, allocations: 8.375 kB / 352.9 MB, free: 2.172 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.1119, allocations: 161.3 kB / 353 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1119, allocations: 4.125 kB / 353 MB, free: 1.992 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.1119, allocations: 7.875 kB / 353 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1119, allocations: 0 / 353 MB, free: 1.984 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.843e-05/0.112, allocations: 23.98 kB / 353.1 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.1123, allocations: 265.8 kB / 353.3 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.536e-05/0.1124, allocations: 50.44 kB / 353.4 MB, free: 1.59 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.991e-05/0.1124, allocations: 24.89 kB / 353.4 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007007/0.1131, allocations: 0.5817 MB / 354 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.487e-05/0.1133, allocations: 34.55 kB / 354 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.1133, allocations: 0 / 354 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002178/0.1135, allocations: 85.66 kB / 354.1 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.1135, allocations: 63.25 kB / 354.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.1137, allocations: 149.8 kB / 354.3 MB, free: 500 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1137, allocations: 25.7 kB / 354.3 MB, free: 468 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.1138, allocations: 92.14 kB / 354.4 MB, free: 372 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.1138, allocations: 3.984 kB / 354.4 MB, free: 368 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.1138, allocations: 29.62 kB / 354.5 MB, free: 332 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.1139, allocations: 322.8 kB / 354.8 MB, free: 0 / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.046e-05/0.114, allocations: 20.06 kB / 354.8 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.094e-05/0.1141, allocations: 66 kB / 354.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.679e-05/0.1142, allocations: 77.88 kB / 354.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1142, allocations: 0 / 354.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001518/0.1143, allocations: 113.5 kB / 355 MB, free: 15.68 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.1144, allocations: 8 kB / 355.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.1144, allocations: 7.922 kB / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1144, allocations: 4.219 kB / 355.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.1145, allocations: 19.94 kB / 355.1 MB, free: 15.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1145, allocations: 4 kB / 355.1 MB, free: 15.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.194e-05/0.1145, allocations: 11.94 kB / 355.1 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.748e-06/0.1146, allocations: 4 kB / 355.1 MB, free: 15.62 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 9.89e-05/0.1147, allocations: 129.8 kB / 355.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1148, allocations: 73.53 kB / 355.3 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001555/0.1149, allocations: 82.38 kB / 355.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.115, allocations: 4.188 kB / 355.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.115, allocations: 0 / 355.4 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.115, allocations: 7.938 kB / 355.4 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1151, allocations: 173.5 kB / 355.6 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.1151, allocations: 7.984 kB / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.1152, allocations: 8 kB / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.1152, allocations: 0 / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1152, allocations: 0 / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1152, allocations: 0 / 355.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1152, allocations: 3.938 kB / 355.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.1153, allocations: 101 kB / 355.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.1154, allocations: 100.9 kB / 355.8 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.1154, allocations: 4 kB / 355.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.321e-05/0.1155, allocations: 0 / 355.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-06/0.1155, allocations: 4 kB / 355.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.1155, allocations: 0 / 355.8 MB, free: 14.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.836e-05/0.1156, allocations: 120.9 kB / 355.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1156, allocations: 0 / 355.9 MB, free: 14.7 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.1158, allocations: 20 kB / 355.9 MB, free: 14.68 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.0001652/0.116, allocations: 115.1 kB / 356 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001337/0.1161, allocations: 59.84 kB / 356.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1161, allocations: 0 / 356.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.1161, allocations: 0 / 356.1 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003597/0.1165, allocations: 78.14 kB / 356.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003573/0.1169, allocations: 215 kB / 356.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.1171, allocations: 0.7041 MB / 357.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.1172, allocations: 11.44 kB / 357.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1172, allocations: 3.938 kB / 357.1 MB, free: 13.44 MB / 302.1 MB Notification: Performance of Templates: time 0.003046/0.1202, allocations: 1.287 MB / 358.4 MB, free: 12.15 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.makefile (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 & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UniformNoise_res.mat","/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) Reference file matches