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.001226/0.001227, allocations: 115.9 kB / 17.28 MB, free: 6.219 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.001005/0.001005, allocations: 193.3 kB / 18.19 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.13/2.13, allocations: 205.1 MB / 224 MB, free: 12.44 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.001232/0.001232, allocations: 47.94 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1262, allocations: 46.62 MB / 326.8 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003334/0.1296, allocations: 1.416 MB / 328.2 MB, free: 3.379 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009871/0.1306, allocations: 360.5 kB / 328.5 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.1307, allocations: 0 / 328.5 MB, free: 3.023 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 5.358e-05/0.1308, allocations: 3.984 kB / 328.5 MB, free: 3.02 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.1309, allocations: 3.938 kB / 328.5 MB, free: 3.016 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006717/0.1316, allocations: 79.81 kB / 328.6 MB, free: 2.938 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.856e-05/0.1317, allocations: 15.98 kB / 328.6 MB, free: 2.922 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.136e-05/0.1318, allocations: 7.922 kB / 328.6 MB, free: 2.914 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.659e-05/0.1318, allocations: 11.94 kB / 328.7 MB, free: 2.902 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.219e-05/0.1318, allocations: 8 kB / 328.7 MB, free: 2.895 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.1319, allocations: 0 / 328.7 MB, free: 2.895 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000231/0.1321, allocations: 83.91 kB / 328.7 MB, free: 2.812 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.1321, allocations: 3.938 kB / 328.8 MB, free: 2.809 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.466e-05/0.1322, allocations: 11.98 kB / 328.8 MB, free: 2.797 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1324, allocations: 75.83 kB / 328.8 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1324, allocations: 7.938 kB / 328.8 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.1324, allocations: 0 / 328.8 MB, free: 2.715 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.1325, allocations: 3.938 kB / 328.9 MB, free: 2.711 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.0005436/0.133, allocations: 347.8 kB / 329.2 MB, free: 2.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.1331, allocations: 8.031 kB / 329.2 MB, free: 2.312 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.1331, allocations: 8.938 kB / 329.2 MB, free: 2.305 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.1333, allocations: 168.2 kB / 329.4 MB, free: 2.102 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.1333, allocations: 384 / 329.4 MB, free: 2.102 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.1334, allocations: 4.375 kB / 329.4 MB, free: 2.098 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1335, allocations: 34.25 kB / 329.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.1335, allocations: 192 / 329.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1336, allocations: 3.938 kB / 329.4 MB, free: 2.055 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1336, allocations: 4 kB / 329.4 MB, free: 2.051 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.813e-05/0.1336, allocations: 8 kB / 329.4 MB, free: 2.043 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.1342, allocations: 240.9 kB / 329.7 MB, free: 1.758 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.577e-05/0.1342, allocations: 30.56 kB / 329.7 MB, free: 1.719 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.703e-05/0.1343, allocations: 12.86 kB / 329.7 MB, free: 1.703 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.1343, allocations: 0 / 329.7 MB, free: 1.703 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002053/0.1345, allocations: 59.34 kB / 329.8 MB, free: 1.633 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.1345, allocations: 0 / 329.8 MB, free: 1.633 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002117/0.1347, allocations: 61.62 kB / 329.8 MB, free: 1.566 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.1349, allocations: 55.39 kB / 329.9 MB, free: 1.5 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.135, allocations: 101.9 kB / 330 MB, free: 1.391 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.135, allocations: 25.7 kB / 330 MB, free: 1.359 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/0.1351, allocations: 92.11 kB / 330.1 MB, free: 1.266 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.1351, allocations: 7.906 kB / 330.1 MB, free: 1.258 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.938e-05/0.1351, allocations: 21.72 kB / 330.1 MB, free: 1.23 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.1353, allocations: 310.8 kB / 330.4 MB, free: 0.918 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/0.1354, allocations: 11.98 kB / 330.4 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.1354, allocations: 13.97 kB / 330.4 MB, free: 0.8867 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.204e-05/0.1355, allocations: 33.78 kB / 330.5 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1355, allocations: 8 kB / 330.5 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.324e-05/0.1356, allocations: 69.39 kB / 330.6 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.1356, allocations: 4 kB / 330.6 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.1356, allocations: 0 / 330.6 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1356, allocations: 4 kB / 330.6 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.442e-05/0.1357, allocations: 8 kB / 330.6 MB, free: 0.75 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.1357, allocations: 0 / 330.6 MB, free: 0.75 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.165e-05/0.1358, allocations: 4.234 kB / 330.6 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1358, allocations: 0 / 330.6 MB, free: 0.7461 MB / 270.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.0001076/0.1359, allocations: 117.8 kB / 330.7 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.1359, allocations: 7.969 kB / 330.7 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.1359, allocations: 7.906 kB / 330.7 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.136, allocations: 4 kB / 330.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.136, allocations: 0 / 330.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.136, allocations: 0 / 330.7 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.1362, allocations: 282.5 kB / 331 MB, free: 272 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.1363, allocations: 0 / 331 MB, free: 272 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.1363, allocations: 7.938 kB / 331 MB, free: 264 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1363, allocations: 4 kB / 331 MB, free: 260 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.1363, allocations: 3.984 kB / 331 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.1363, allocations: 0 / 331 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1363, allocations: 0 / 331 MB, free: 256 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.1365, allocations: 151.4 kB / 331.1 MB, free: 88 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.956e-05/0.1365, allocations: 77.11 kB / 331.2 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.1366, allocations: 7.938 kB / 331.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.178e-05/0.1366, allocations: 0 / 331.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.889e-05/0.1367, allocations: 7.984 kB / 331.2 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.1367, allocations: 4 kB / 331.2 MB, free: 15.97 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001113/0.1368, allocations: 83.28 kB / 331.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1368, allocations: 0 / 331.3 MB, free: 15.89 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.1371, allocations: 27.98 kB / 331.4 MB, free: 15.86 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.0004708/0.1376, allocations: 189.7 kB / 331.5 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.1378, allocations: 19.98 kB / 331.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1378, allocations: 0 / 331.6 MB, free: 15.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.1378, allocations: 11.92 kB / 331.6 MB, free: 15.65 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.1381, allocations: 8 kB / 331.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003619/0.1384, allocations: 113.6 kB / 331.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005633/0.139, allocations: 0.6883 MB / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.12e-05/0.139, allocations: 4 kB / 332.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.1391, allocations: 7.438 kB / 332.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1391, allocations: 0 / 332.4 MB, free: 14.78 MB / 286.1 MB Notification: Performance of Templates: time 0.004551/0.1436, allocations: 0.9413 MB / 333.3 MB, free: 13.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches