Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|uniformNoise.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001675/0.001675, allocations: 185.5 kB / 8.196 MB, free: 2.172 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.75/1.75, allocations: 205.2 MB / 213.8 MB, free: 13.9 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 99.69 kB / 261.8 MB, free: 13.6 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.167/0.167, allocations: 12.6 MB / 322.4 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.348e-06/9.518e-06, allocations: 0 / 378.4 MB, free: 76.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1109, allocations: 50.37 MB / 428.7 MB, free: 25.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2959/0.4068, allocations: 77.2 MB / 0.4941 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.4072, allocations: 76.06 kB / 0.4942 GB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01571/0.4229, allocations: 2.578 MB / 0.4967 GB, free: 11.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.423, allocations: 7.625 kB / 0.4967 GB, free: 11.46 MB / 330.7 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.0004372/0.4235, allocations: 358.1 kB / 0.497 GB, free: 11.1 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4235, allocations: 11.53 kB / 0.497 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.4236, allocations: 13.34 kB / 0.4971 GB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.4239, allocations: 192 kB / 0.4972 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.4239, allocations: 0 / 0.4972 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.4239, allocations: 3.719 kB / 0.4972 GB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001195/0.4241, allocations: 28.33 kB / 0.4973 GB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003717/0.4245, allocations: 140.7 kB / 0.4974 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4245, allocations: 0 / 0.4974 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4245, allocations: 0 / 0.4974 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4245, allocations: 3.844 kB / 0.4974 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.4249, allocations: 251.3 kB / 0.4976 GB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.425, allocations: 37.77 kB / 0.4977 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.4251, allocations: 25.17 kB / 0.4977 GB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008074/0.4259, allocations: 0.5779 MB / 0.4983 GB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.426, allocations: 31.78 kB / 0.4983 GB, free: 9.828 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.134e-06/0.426, allocations: 0.6562 kB / 0.4983 GB, free: 9.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002961/0.4263, allocations: 74.77 kB / 0.4984 GB, free: 9.789 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.4263, allocations: 63.12 kB / 0.4984 GB, free: 9.719 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001512/0.4265, allocations: 125.3 kB / 0.4986 GB, free: 9.625 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.4265, allocations: 25.7 kB / 0.4986 GB, free: 9.594 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.4266, allocations: 150.6 kB / 0.4987 GB, free: 9.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.4266, allocations: 17.19 kB / 0.4987 GB, free: 9.438 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.4266, allocations: 3.938 kB / 0.4987 GB, free: 9.434 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.853e-05/0.4267, allocations: 312.2 kB / 0.499 GB, free: 9.121 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.547e-05/0.4268, allocations: 18.2 kB / 0.4991 GB, free: 9.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.4269, allocations: 60.22 kB / 0.4991 GB, free: 9.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.457e-05/0.427, allocations: 33.84 kB / 0.4991 GB, free: 9.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.427, allocations: 7.844 kB / 0.4992 GB, free: 9.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002396/0.4273, allocations: 91.94 kB / 0.4992 GB, free: 9.016 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/0.4273, allocations: 6.859 kB / 0.4992 GB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4273, allocations: 3.906 kB / 0.4992 GB, free: 9.016 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.4274, allocations: 3.906 kB / 0.4993 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.4275, allocations: 16.52 kB / 0.4993 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.4276, allocations: 1.453 kB / 0.4993 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.328e-05/0.4276, allocations: 4.062 kB / 0.4993 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4277, allocations: 7.906 kB / 0.4993 GB, free: 9.008 MB / 330.7 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 (uniformNoise.seedState[3],$CLKPRE.uniformNoise.seedState[3],uniformNoise.seedState[2],$CLKPRE.uniformNoise.seedState[2],uniformNoise.seedState[1],$CLKPRE.uniformNoise.seedState[1]) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.769e-05/0.4278, allocations: 37.27 kB / 0.4993 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002025/0.428, allocations: 77.33 kB / 0.4994 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.4283, allocations: 88.02 kB / 0.4995 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4283, allocations: 0.6094 kB / 0.4995 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.4283, allocations: 0 / 0.4995 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4284, allocations: 0.6094 kB / 0.4995 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001322/0.4285, allocations: 162.2 kB / 0.4996 GB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/0.4285, allocations: 8.594 kB / 0.4996 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.4286, allocations: 4.469 kB / 0.4996 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.4286, allocations: 0 / 0.4996 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4287, allocations: 0.7031 kB / 0.4996 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4287, allocations: 0 / 0.4996 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4287, allocations: 4.578 kB / 0.4996 GB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002499/0.429, allocations: 97.19 kB / 0.4997 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.747e-05/0.4291, allocations: 100.6 kB / 0.4998 GB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.4291, allocations: 16.56 kB / 0.4999 GB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.264e-05/0.4292, allocations: 0 / 0.4999 GB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.522e-06/0.4292, allocations: 0.5156 kB / 0.4999 GB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.4292, allocations: 0.5156 kB / 0.4999 GB, free: 8.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001029/0.4294, allocations: 108.5 kB / 0.5 GB, free: 8.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004339/0.4298, allocations: 15.44 kB / 0.5 GB, free: 8.465 MB / 330.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: 3 (uniformNoise.seedState[1],uniformNoise.seedState[2],uniformNoise.seedState[3]) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002241/0.4301, allocations: 105.5 kB / 0.5001 GB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.4303, allocations: 58.08 kB / 0.5001 GB, free: 8.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4303, allocations: 0 / 0.5001 GB, free: 8.359 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.4303, allocations: 0 / 0.5001 GB, free: 8.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.4309, allocations: 77.94 kB / 0.5002 GB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005195/0.4314, allocations: 145.8 kB / 0.5003 GB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.4317, allocations: 0.7196 MB / 0.501 GB, free: 7.504 MB / 330.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4317, allocations: 3.938 kB / 0.501 GB, free: 7.5 MB / 330.7 MB Notification: Performance of Templates: time 0.004765/0.4365, allocations: 1.254 MB / 0.5023 GB, free: 7.402 MB / 330.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches