Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.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) 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.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") translateModel(Modelica.Blocks.Examples.NoiseExamples.Distributions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|uniformNoise_y|truncatedNormalNoise_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions") [: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.001587/0.001587, allocations: 176.1 kB / 8.476 MB, free: 1.879 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.263/1.263, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008979/0.0008975, allocations: 83.34 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.123e-06/7.143e-06, allocations: 4 kB / 315 MB, free: 41.48 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09075/0.09077, allocations: 47.57 MB / 362.5 MB, free: 9.957 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3027/0.3935, allocations: 77.42 MB / 440 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001804/0.3937, allocations: 65.31 kB / 440 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01982/0.4136, allocations: 7.144 MB / 447.2 MB, free: 9.566 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.4136, allocations: 0 / 447.2 MB, free: 9.566 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005873/0.4142, allocations: 0.4983 MB / 447.7 MB, free: 9.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.589e-05/0.4142, allocations: 7.656 kB / 447.7 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.4144, allocations: 34.98 kB / 447.7 MB, free: 9.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.4146, allocations: 202.5 kB / 447.9 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.4146, allocations: 6.562 kB / 447.9 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.4146, allocations: 3.812 kB / 447.9 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.572e-05/0.4147, allocations: 40.2 kB / 447.9 MB, free: 8.859 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.4148, allocations: 114.1 kB / 448.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.4148, allocations: 0 / 448.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4149, allocations: 3.812 kB / 448.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-06/0.4149, allocations: 4 kB / 448.1 MB, free: 8.781 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000425/0.4153, allocations: 0.5114 MB / 448.6 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.4155, allocations: 127.4 kB / 448.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.44e-05/0.4155, allocations: 52.02 kB / 448.8 MB, free: 8.203 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.4155, allocations: 8.281 kB / 448.8 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.4157, allocations: 131.9 kB / 448.9 MB, free: 8.109 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.143e-06/0.4157, allocations: 0 / 448.9 MB, free: 8.109 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005251/0.4162, allocations: 170.3 kB / 449.1 MB, free: 8.039 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.4163, allocations: 121.8 kB / 449.2 MB, free: 7.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.4164, allocations: 174.1 kB / 449.3 MB, free: 7.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.4164, allocations: 40.72 kB / 449.4 MB, free: 7.766 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.239e-05/0.4165, allocations: 106.5 kB / 449.5 MB, free: 7.668 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.4165, allocations: 37.98 kB / 449.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/0.4165, allocations: 0 / 449.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.461e-05/0.4166, allocations: 330 kB / 449.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.4167, allocations: 85.66 kB / 449.9 MB, free: 7.312 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.4168, allocations: 110.8 kB / 450 MB, free: 7.266 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.4173, allocations: 133.8 kB / 450.2 MB, free: 7.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.4173, allocations: 0 / 450.2 MB, free: 7.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007302/0.4181, allocations: 309.8 kB / 450.5 MB, free: 7.129 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.682e-06/0.4181, allocations: 3.688 kB / 450.5 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4181, allocations: 3.844 kB / 450.5 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.574e-06/0.4181, allocations: 0 / 450.5 MB, free: 7.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.4182, allocations: 30.7 kB / 450.5 MB, free: 7.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.4183, allocations: 7.797 kB / 450.5 MB, free: 7.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.4184, allocations: 23.34 kB / 450.5 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.4184, allocations: 11.44 kB / 450.6 MB, free: 7.102 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition2,$whenCondition1,n,$PRE.truncatedNormalNoise.state[1],truncatedNormalNoise.state[1],$PRE.truncatedNormalNoise.state[2],truncatedNormalNoise.state[2],$PRE.truncatedNormalNoise.state[3],truncatedNormalNoise.state[3],$PRE.truncatedNormalNoise.state[4],truncatedNormalNoise.state[4],$PRE.truncatedNormalNoise.r,truncatedNormalNoise.r,$PRE.truncatedNormalNoise.r_raw,truncatedNormalNoise.r_raw,$PRE.uniformNoise.state[1],uniformNoise.state[1],$PRE.uniformNoise.state[2],uniformNoise.state[2],$PRE.uniformNoise.state[3],uniformNoise.state[3],$PRE.uniformNoise.state[4],uniformNoise.state[4],$PRE.uniformNoise.r,uniformNoise.r,$PRE.uniformNoise.r_raw,uniformNoise.r_raw,globalSeed.id_impure,uniformNoise.localSeed,uniformNoise.actualGlobalSeed,truncatedNormalNoise.localSeed,truncatedNormalNoise.actualGlobalSeed,globalSeed.seed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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 7e-05/0.4185, allocations: 127.2 kB / 450.7 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.4185, allocations: 15.38 kB / 450.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.4185, allocations: 13.06 kB / 450.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4185, allocations: 7.688 kB / 450.7 MB, free: 6.973 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4185, allocations: 11.98 kB / 450.7 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.4185, allocations: 0 / 450.7 MB, free: 6.961 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.4187, allocations: 198 kB / 450.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4187, allocations: 0 / 450.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.4188, allocations: 11.53 kB / 450.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.4188, allocations: 0 / 450.9 MB, free: 6.773 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.4188, allocations: 7.828 kB / 450.9 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4188, allocations: 0 / 450.9 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.4188, allocations: 3.812 kB / 450.9 MB, free: 6.77 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004779/0.4193, allocations: 240.9 kB / 451.2 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.4193, allocations: 96.66 kB / 451.3 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.648e-05/0.4194, allocations: 23.2 kB / 451.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.737e-05/0.4194, allocations: 3.875 kB / 451.3 MB, free: 6.492 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.792e-05/0.4195, allocations: 19.62 kB / 451.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.4195, allocations: 3.969 kB / 451.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.722e-05/0.4196, allocations: 129 kB / 451.4 MB, free: 6.406 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004552/0.42, allocations: 153.8 kB / 451.6 MB, free: 6.352 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4],uniformNoise.r,uniformNoise.r_raw,$whenCondition1,truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],truncatedNormalNoise.r,truncatedNormalNoise.r_raw,n) * Number of discrete states: 8 (truncatedNormalNoise.state[1],truncatedNormalNoise.state[2],truncatedNormalNoise.state[3],truncatedNormalNoise.state[4],uniformNoise.state[1],uniformNoise.state[2],uniformNoise.state[3],uniformNoise.state[4]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009102/0.421, allocations: 428.9 kB / 452 MB, free: 6.098 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.4212, allocations: 222.2 kB / 452.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.4213, allocations: 192 / 452.2 MB, free: 6.023 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.074e-05/0.4213, allocations: 59.92 kB / 452.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.826e-05/0.4214, allocations: 15.34 kB / 452.3 MB, free: 6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.4218, allocations: 194.1 kB / 452.5 MB, free: 5.867 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.4219, allocations: 0.7399 MB / 453.2 MB, free: 5.141 MB / 314.7 MB Notification: Performance of SimCode: time 2.5e-07/0.422, allocations: 4 kB / 453.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of Templates: time 0.005907/0.4279, allocations: 3.846 MB / 457.1 MB, free: 3.215 MB / 314.7 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Distributions/Distributions.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Distributions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches