Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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 3.2.3+maint.om/package.mo", uses=false) 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 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.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 107.2 kB / 18.34 MB, free: 4.699 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.001789/0.001789, allocations: 192.1 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1282, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.00331/0.1316, allocations: 1.343 MB / 330.1 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008703/0.1325, allocations: 351.7 kB / 330.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.464e-05/0.1325, allocations: 0 / 330.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.1326, allocations: 0 / 330.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.767e-05/0.1326, allocations: 3.938 kB / 330.4 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005037/0.1331, allocations: 91.72 kB / 330.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.1e-05/0.1332, allocations: 27.92 kB / 330.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.1333, allocations: 0 / 330.5 MB, free: 1.934 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.742e-05/0.1333, allocations: 7.938 kB / 330.5 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.772e-05/0.1333, allocations: 7.984 kB / 330.5 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.1334, allocations: 0 / 330.5 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.1335, allocations: 83.92 kB / 330.6 MB, free: 1.836 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.155e-05/0.1336, allocations: 11.91 kB / 330.6 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.1336, allocations: 11.94 kB / 330.6 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002023/0.1338, allocations: 83.77 kB / 330.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1338, allocations: 0 / 330.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1338, allocations: 0 / 330.7 MB, free: 1.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1339, allocations: 4 kB / 330.7 MB, free: 1.727 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000647/0.1345, allocations: 339.5 kB / 331.1 MB, free: 1.344 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1346, allocations: 12.02 kB / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.1346, allocations: 4.938 kB / 331.1 MB, free: 1.328 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.1348, allocations: 176.2 kB / 331.2 MB, free: 1.117 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.1348, allocations: 4.375 kB / 331.2 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.1348, allocations: 384 / 331.2 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.1349, allocations: 42.17 kB / 331.3 MB, free: 1.066 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1349, allocations: 4.188 kB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.135, allocations: 3.938 kB / 331.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.135, allocations: 0 / 331.3 MB, free: 1.059 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.135, allocations: 7.938 kB / 331.3 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.1354, allocations: 241 kB / 331.5 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.197e-05/0.1355, allocations: 22.58 kB / 331.6 MB, free: 0.7344 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.1356, allocations: 16.84 kB / 331.6 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.1356, allocations: 11.94 kB / 331.6 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.1357, allocations: 51.34 kB / 331.6 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.423e-06/0.1358, allocations: 4 kB / 331.6 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002071/0.136, allocations: 49.69 kB / 331.7 MB, free: 0.582 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.1361, allocations: 55.41 kB / 331.7 MB, free: 0.5156 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1362, allocations: 105.8 kB / 331.8 MB, free: 412 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.1362, allocations: 25.7 kB / 331.9 MB, free: 380 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.792e-05/0.1363, allocations: 84.14 kB / 332 MB, free: 292 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.1363, allocations: 11.91 kB / 332 MB, free: 280 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.1363, allocations: 17.7 kB / 332 MB, free: 256 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.1366, allocations: 314.8 kB / 332.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.773e-05/0.1366, allocations: 7.938 kB / 332.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.056e-05/0.1366, allocations: 21.7 kB / 332.3 MB, free: 15.9 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.927e-05/0.1367, allocations: 33.72 kB / 332.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1367, allocations: 0 / 332.4 MB, free: 15.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001167/0.1368, allocations: 61.47 kB / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.1369, allocations: 4 kB / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1369, allocations: 4.375 kB / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.1369, allocations: 0 / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.399e-05/0.137, allocations: 7.984 kB / 332.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.137, allocations: 8 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.137, allocations: 4 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1371, allocations: 32 / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001129/0.1372, allocations: 117.8 kB / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.075e-06/0.1372, allocations: 0 / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.1372, allocations: 11.91 kB / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1372, allocations: 0 / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1373, allocations: 3.938 kB / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1373, allocations: 0 / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003645/0.1376, allocations: 282.8 kB / 332.8 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1377, allocations: 11.88 kB / 332.9 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.096e-05/0.1377, allocations: 4 kB / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1377, allocations: 48 / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1377, allocations: 3.984 kB / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1377, allocations: 0 / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1377, allocations: 4 kB / 332.9 MB, free: 15.27 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1379, allocations: 151.3 kB / 333 MB, free: 15.1 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.391e-05/0.1379, allocations: 85.09 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.138, allocations: 0 / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/0.138, allocations: 4 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.883e-05/0.138, allocations: 0 / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.1381, allocations: 4 kB / 333.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.898e-05/0.1381, allocations: 87.27 kB / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1381, allocations: 0 / 333.2 MB, free: 14.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.1384, allocations: 24 kB / 333.2 MB, free: 14.88 MB / 286.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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.000411/0.1388, allocations: 198.1 kB / 333.4 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.1389, allocations: 23.92 kB / 333.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1389, allocations: 0 / 333.4 MB, free: 14.67 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.707e-05/0.139, allocations: 8 kB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.1392, allocations: 4 kB / 333.4 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.1395, allocations: 113.6 kB / 333.6 MB, free: 14.52 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1399, allocations: 0.6806 MB / 334.2 MB, free: 13.81 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.665e-05/0.1399, allocations: 7.984 kB / 334.2 MB, free: 13.8 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.054e-05/0.1399, allocations: 11.44 kB / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1399, allocations: 0 / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of Templates: time 0.003913/0.1439, allocations: 0.9489 MB / 335.2 MB, free: 12.84 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches