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.0009806/0.0009805, allocations: 100.2 kB / 17.3 MB, free: 6.395 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.0008466/0.0008468, allocations: 176.4 kB / 18.2 MB, free: 5.555 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.82/1.82, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005471/0.0005473, allocations: 12 kB / 281.4 MB, free: 3.426 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1319, allocations: 47.58 MB / 329 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001903/0.1338, allocations: 1.077 MB / 330 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.1349, allocations: 360.7 kB / 330.4 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.819e-05/0.135, allocations: 0 / 330.4 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.1351, allocations: 3.938 kB / 330.4 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.1351, allocations: 0 / 330.4 MB, free: 2.328 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.1357, allocations: 67.86 kB / 330.5 MB, free: 2.262 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.73e-05/0.1358, allocations: 15.94 kB / 330.5 MB, free: 2.246 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.499e-05/0.1358, allocations: 11.98 kB / 330.5 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.553e-05/0.1359, allocations: 3.938 kB / 330.5 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.863e-05/0.1359, allocations: 4 kB / 330.5 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1359, allocations: 0 / 330.5 MB, free: 2.227 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.1362, allocations: 87.84 kB / 330.6 MB, free: 2.141 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.1362, allocations: 11.92 kB / 330.6 MB, free: 2.129 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.1363, allocations: 29.7 kB / 330.6 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.1365, allocations: 79.81 kB / 330.7 MB, free: 2.016 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1365, allocations: 0 / 330.7 MB, free: 2.016 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1365, allocations: 0 / 330.7 MB, free: 2.016 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1366, allocations: 0 / 330.7 MB, free: 2.016 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.0005356/0.1371, allocations: 347.7 kB / 331 MB, free: 1.625 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.742e-05/0.1372, allocations: 8.031 kB / 331 MB, free: 1.617 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.1372, allocations: 4.938 kB / 331 MB, free: 1.613 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000171/0.1374, allocations: 172.2 kB / 331.2 MB, free: 1.406 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.1375, allocations: 4.375 kB / 331.2 MB, free: 1.402 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.1375, allocations: 4.375 kB / 331.2 MB, free: 1.398 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/0.1376, allocations: 38.19 kB / 331.3 MB, free: 1.355 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.1376, allocations: 192 / 331.3 MB, free: 1.355 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1377, allocations: 3.938 kB / 331.3 MB, free: 1.352 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1377, allocations: 4 kB / 331.3 MB, free: 1.348 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.1377, allocations: 4 kB / 331.3 MB, free: 1.344 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.1382, allocations: 245 kB / 331.5 MB, free: 1.055 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.1383, allocations: 26.56 kB / 331.5 MB, free: 1.02 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.1384, allocations: 20.78 kB / 331.6 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.021e-05/0.1384, allocations: 4 kB / 331.6 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.1386, allocations: 51.41 kB / 331.6 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.1386, allocations: 0 / 331.6 MB, free: 0.9297 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002598/0.1389, allocations: 49.69 kB / 331.7 MB, free: 0.875 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.299e-05/0.139, allocations: 63.33 kB / 331.7 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.1391, allocations: 113.8 kB / 331.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1391, allocations: 25.7 kB / 331.9 MB, free: 0.6484 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.1392, allocations: 88.12 kB / 331.9 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.1392, allocations: 7.906 kB / 331.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1392, allocations: 13.72 kB / 332 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1394, allocations: 310.8 kB / 332.3 MB, free: 224 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.558e-05/0.1394, allocations: 8 kB / 332.3 MB, free: 216 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.279e-05/0.1394, allocations: 21.7 kB / 332.3 MB, free: 188 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.345e-05/0.1395, allocations: 25.72 kB / 332.3 MB, free: 156 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1395, allocations: 4 kB / 332.3 MB, free: 152 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001146/0.1396, allocations: 65.47 kB / 332.4 MB, free: 80 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1396, allocations: 4 kB / 332.4 MB, free: 76 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1397, allocations: 4 kB / 332.4 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.1397, allocations: 0 / 332.4 MB, free: 72 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.248e-05/0.1398, allocations: 7.984 kB / 332.4 MB, free: 64 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.1398, allocations: 4 kB / 332.4 MB, free: 60 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.1398, allocations: 0 / 332.4 MB, free: 60 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1398, allocations: 3.984 kB / 332.4 MB, free: 56 kB / 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.000139/0.14, allocations: 125.8 kB / 332.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.216e-05/0.14, allocations: 0 / 332.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.14, allocations: 7.906 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.14, allocations: 3.984 kB / 332.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.14, allocations: 3.938 kB / 332.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1401, allocations: 0 / 332.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.1403, allocations: 278.6 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1404, allocations: 4 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.1404, allocations: 0 / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.187e-06/0.1404, allocations: 4 kB / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1404, allocations: 0 / 332.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.1404, allocations: 3.938 kB / 332.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1404, allocations: 7.938 kB / 332.8 MB, free: 15.55 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.1406, allocations: 151.4 kB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.1406, allocations: 81.44 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.1407, allocations: 0 / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.15e-05/0.1407, allocations: 0 / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.1407, allocations: 7.984 kB / 333.1 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1408, allocations: 8.375 kB / 333.1 MB, free: 15.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.203e-05/0.1408, allocations: 87.27 kB / 333.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1408, allocations: 0 / 333.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1411, allocations: 28 kB / 333.2 MB, free: 15.16 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.0004696/0.1416, allocations: 183.7 kB / 333.4 MB, free: 14.99 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.1417, allocations: 23.92 kB / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1417, allocations: 0 / 333.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.037e-05/0.1418, allocations: 12 kB / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1421, allocations: 0 / 333.4 MB, free: 14.95 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.1424, allocations: 120.9 kB / 333.5 MB, free: 14.81 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1427, allocations: 0.6809 MB / 334.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.721e-05/0.1428, allocations: 7.984 kB / 334.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.627e-05/0.1428, allocations: 11.38 kB / 334.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of SimCode: time 4e-07/0.1428, allocations: 0 / 334.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of Templates: time 0.003728/0.1465, allocations: 0.937 MB / 335.2 MB, free: 13.14 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