Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") translateModel(Modelica.Blocks.Examples.Noise.UniformNoiseProperties,tolerance=1e-09,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|mean.mu|standardDeviation.variance.mu|standardDeviation.variance.var|variance.mu|variance.var|meanError_y|sigmaError_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties") [: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 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 183 kB / 8.135 MB, free: 2.078 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 221.4 MB / 229.9 MB, free: 3.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008795/0.0008795, allocations: 95.16 kB / 280.8 MB, free: 1.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/7.895e-06, allocations: 4 kB / 336.5 MB, free: 9.609 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1943/0.1943, allocations: 50.39 MB / 386.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08398/0.2783, allocations: 78.34 MB / 465.3 MB, free: 8.484 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.2786, allocations: 75.89 kB / 465.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01501/0.2936, allocations: 4.865 MB / 470.2 MB, free: 3.562 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.2937, allocations: 4 kB / 470.2 MB, free: 3.559 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007821/0.2944, allocations: 0.5197 MB / 470.7 MB, free: 2.992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.2945, allocations: 8.031 kB / 470.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002137/0.2947, allocations: 39.7 kB / 470.8 MB, free: 2.945 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.295, allocations: 240.1 kB / 471 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.295, allocations: 4 kB / 471 MB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.2951, allocations: 16 kB / 471 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002262/0.2953, allocations: 96.25 kB / 471.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.2956, allocations: 141.5 kB / 471.3 MB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.2956, allocations: 3.984 kB / 471.3 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/0.2956, allocations: 0 / 471.3 MB, free: 2.414 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2956, allocations: 6.438 kB / 471.3 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008171/0.2965, allocations: 0.5172 MB / 471.8 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.2971, allocations: 231 kB / 472 MB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.2973, allocations: 73.05 kB / 472.1 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.2973, allocations: 3.984 kB / 472.1 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000177/0.2975, allocations: 115.9 kB / 472.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.843e-06/0.2975, allocations: 0 / 472.2 MB, free: 1.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003293/0.2978, allocations: 172.7 kB / 472.4 MB, free: 1.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.2979, allocations: 63.64 kB / 472.4 MB, free: 1.168 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.298, allocations: 170.3 kB / 472.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.2981, allocations: 37.7 kB / 472.6 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.2981, allocations: 124.4 kB / 472.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.2982, allocations: 63.06 kB / 472.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.2982, allocations: 0 / 472.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.919e-05/0.2983, allocations: 334.7 kB / 473.1 MB, free: 440 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.2985, allocations: 86.39 kB / 473.2 MB, free: 356 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.2987, allocations: 113.4 kB / 473.3 MB, free: 236 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.2989, allocations: 101.2 kB / 473.4 MB, free: 132 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2989, allocations: 0 / 473.4 MB, free: 132 kB / 346.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004884/0.2994, allocations: 276 kB / 473.7 MB, free: 15.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.2994, allocations: 4 kB / 473.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.2994, allocations: 13.03 kB / 473.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.2995, allocations: 0 / 473.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.2998, allocations: 75.98 kB / 473.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.2998, allocations: 7.938 kB / 473.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3, allocations: 47.72 kB / 473.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/0.3001, allocations: 16.92 kB / 473.9 MB, free: 15.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$PRE.noise.state[1],noise.state[1],$PRE.noise.state[2],noise.state[2],$PRE.noise.state[3],noise.state[3],$PRE.noise.state[4],noise.state[4],$PRE.noise.r,noise.r,$PRE.noise.r_raw,noise.r_raw,globalSeed.id_impure,noise.localSeed,noise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 1 * 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 prepare postOptimizeDAE: time 9.13e-05/0.3002, allocations: 121.4 kB / 474 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.3002, allocations: 11.81 kB / 474 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.188e-05/0.3003, allocations: 17.75 kB / 474 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3003, allocations: 7.906 kB / 474 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3003, allocations: 0 / 474 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3003, allocations: 3.984 kB / 474 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007476/0.301, allocations: 0.5107 MB / 474.5 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3011, allocations: 4 kB / 474.5 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.3014, allocations: 67.89 kB / 474.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.3014, allocations: 0 / 474.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.163e-05/0.3014, allocations: 3.938 kB / 474.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3014, allocations: 4 kB / 474.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3014, allocations: 3.984 kB / 474.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004499/0.3019, allocations: 356.4 kB / 475 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.3019, allocations: 100.9 kB / 475.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.116e-05/0.302, allocations: 7.984 kB / 475.1 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.3022, allocations: 28.64 kB / 475.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.3023, allocations: 15.97 kB / 475.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.3023, allocations: 4 kB / 475.1 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.793e-05/0.3024, allocations: 127.2 kB / 475.2 MB, free: 14.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003937/0.3028, allocations: 83.77 kB / 475.3 MB, free: 14.15 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0004152/0.3032, allocations: 215.4 kB / 475.5 MB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004053/0.3037, allocations: 225.6 kB / 475.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3037, allocations: 0 / 475.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.3038, allocations: 79.92 kB / 475.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.3041, allocations: 20.77 kB / 475.8 MB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.3047, allocations: 317.9 kB / 476.2 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.305, allocations: 0.7666 MB / 476.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.064e-06/0.305, allocations: 0 / 476.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of Templates: time 0.00633/0.3114, allocations: 3.172 MB / 480.1 MB, free: 9.379 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/UniformNoiseProperties/UniformNoiseProperties.csv","../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.UniformNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches