Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/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 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 188.8 kB / 7.842 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.2 MB / 213.5 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009953/0.0009953, allocations: 98.12 kB / 261.5 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07196/0.07196, allocations: 12.6 MB / 322 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.765e-06/7.875e-06, allocations: 4 kB / 378.4 MB, free: 75.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09495/0.09498, allocations: 50.37 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2756/0.3706, allocations: 77.2 MB / 0.4941 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002899/0.371, allocations: 81.09 kB / 0.4942 GB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.007592/0.3786, allocations: 2.569 MB / 0.4967 GB, free: 11.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3787, allocations: 3.844 kB / 0.4967 GB, free: 11.59 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.0003119/0.379, allocations: 361.2 kB / 0.497 GB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.379, allocations: 11.56 kB / 0.4971 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.3791, allocations: 11.78 kB / 0.4971 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.3793, allocations: 195.6 kB / 0.4973 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.3793, allocations: 4 kB / 0.4973 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.323e-05/0.3793, allocations: 3.844 kB / 0.4973 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.405e-05/0.3794, allocations: 19.7 kB / 0.4973 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.3797, allocations: 151.4 kB / 0.4974 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3797, allocations: 0 / 0.4974 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.3797, allocations: 0 / 0.4974 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3797, allocations: 4.844 kB / 0.4974 GB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.38, allocations: 244.5 kB / 0.4977 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.898e-05/0.3801, allocations: 43.72 kB / 0.4977 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.552e-05/0.3801, allocations: 23.8 kB / 0.4977 GB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000436/0.3806, allocations: 0.5745 MB / 0.4983 GB, free: 9.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.3806, allocations: 31.73 kB / 0.4983 GB, free: 9.945 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.983e-06/0.3806, allocations: 0 / 0.4983 GB, free: 9.945 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001893/0.3808, allocations: 75.97 kB / 0.4984 GB, free: 9.906 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.3808, allocations: 59.28 kB / 0.4984 GB, free: 9.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.511e-05/0.3809, allocations: 129.6 kB / 0.4986 GB, free: 9.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.817e-06/0.3809, allocations: 25.7 kB / 0.4986 GB, free: 9.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.297e-05/0.381, allocations: 84.83 kB / 0.4987 GB, free: 9.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.381, allocations: 12.81 kB / 0.4987 GB, free: 9.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.381, allocations: 0 / 0.4987 GB, free: 9.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.158e-05/0.381, allocations: 316.8 kB / 0.499 GB, free: 9.309 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.3811, allocations: 29.05 kB / 0.499 GB, free: 9.301 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.558e-05/0.3811, allocations: 58.69 kB / 0.4991 GB, free: 9.246 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.05e-05/0.3812, allocations: 32.94 kB / 0.4991 GB, free: 9.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3812, allocations: 0 / 0.4991 GB, free: 9.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001191/0.3813, allocations: 99.02 kB / 0.4992 GB, free: 9.199 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.3813, allocations: 3.844 kB / 0.4992 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3813, allocations: 0 / 0.4992 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3813, allocations: 4.984 kB / 0.4992 GB, free: 9.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.052e-05/0.3814, allocations: 24.84 kB / 0.4992 GB, free: 9.191 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3814, allocations: 8.203 kB / 0.4992 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.897e-05/0.3815, allocations: 9.281 kB / 0.4992 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3815, allocations: 3.844 kB / 0.4992 GB, free: 9.18 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 6.475e-05/0.3816, allocations: 110.9 kB / 0.4994 GB, free: 9.074 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.918e-05/0.3817, allocations: 71.3 kB / 0.4994 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001582/0.3818, allocations: 88.58 kB / 0.4995 GB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3819, allocations: 4 kB / 0.4995 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3819, allocations: 3.906 kB / 0.4995 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3819, allocations: 5.359 kB / 0.4995 GB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.388e-05/0.3819, allocations: 153.8 kB / 0.4997 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.382, allocations: 1.547 kB / 0.4997 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/0.382, allocations: 3.844 kB / 0.4997 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.382, allocations: 192 / 0.4997 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.382, allocations: 1.5 kB / 0.4997 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.382, allocations: 7.844 kB / 0.4997 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.382, allocations: 3.844 kB / 0.4997 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001182/0.3822, allocations: 100.8 kB / 0.4998 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.3822, allocations: 96.77 kB / 0.4999 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/0.3823, allocations: 8.75 kB / 0.4999 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.49e-05/0.3823, allocations: 0 / 0.4999 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-06/0.3823, allocations: 3.906 kB / 0.4999 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.3823, allocations: 1.172 kB / 0.4999 GB, free: 8.645 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.884e-05/0.3824, allocations: 106.3 kB / 0.5 GB, free: 8.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002265/0.3826, allocations: 15.41 kB / 0.5 GB, free: 8.57 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.0001527/0.3828, allocations: 107.6 kB / 0.5001 GB, free: 8.477 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001001/0.3829, allocations: 52 kB / 0.5002 GB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3829, allocations: 0 / 0.5002 GB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.3829, allocations: 0 / 0.5002 GB, free: 8.469 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.3832, allocations: 74.34 kB / 0.5002 GB, free: 8.434 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.3835, allocations: 119.7 kB / 0.5003 GB, free: 8.352 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.3837, allocations: 0.7173 MB / 0.501 GB, free: 7.645 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3837, allocations: 7.938 kB / 0.501 GB, free: 7.637 MB / 330.7 MB Notification: Performance of Templates: time 0.003466/0.3872, allocations: 1.145 MB / 0.5022 GB, free: 7.539 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_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_Modelica_Synchronous.Examples.Elementary.RealSignals.UniformNoise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches