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.001179/0.001179, allocations: 102.9 kB / 17.58 MB, free: 5.453 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.001115/0.001115, allocations: 187.9 kB / 18.51 MB, free: 4.531 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.58/1.58, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.00136/0.00136, allocations: 52.14 kB / 280.6 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1273, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.005027/0.1325, allocations: 1.328 MB / 328.6 MB, free: 3.137 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1336, allocations: 363.6 kB / 329 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.863e-05/0.1337, allocations: 0 / 329 MB, free: 2.777 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.586e-05/0.1338, allocations: 3.938 kB / 329 MB, free: 2.773 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.305e-05/0.1339, allocations: 7.938 kB / 329 MB, free: 2.766 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007874/0.1347, allocations: 79.72 kB / 329 MB, free: 2.688 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 9.599e-05/0.1348, allocations: 15.98 kB / 329.1 MB, free: 2.672 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.444e-05/0.1349, allocations: 8 kB / 329.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.384e-05/0.1349, allocations: 7.938 kB / 329.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.135, allocations: 8 kB / 329.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.135, allocations: 0 / 329.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000347/0.1354, allocations: 87.84 kB / 329.2 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.1354, allocations: 11.92 kB / 329.2 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.1355, allocations: 4 kB / 329.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003562/0.1358, allocations: 83.81 kB / 329.3 MB, free: 2.465 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1359, allocations: 3.938 kB / 329.3 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.1359, allocations: 0 / 329.3 MB, free: 2.461 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1359, allocations: 0 / 329.3 MB, free: 2.461 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.00068/0.1366, allocations: 347.8 kB / 329.6 MB, free: 2.07 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.1367, allocations: 12.03 kB / 329.6 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.1367, allocations: 0.9375 kB / 329.6 MB, free: 2.059 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/0.1369, allocations: 176.2 kB / 329.8 MB, free: 1.848 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.137, allocations: 4.375 kB / 329.8 MB, free: 1.844 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.137, allocations: 384 / 329.8 MB, free: 1.844 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.1371, allocations: 30.27 kB / 329.8 MB, free: 1.809 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1371, allocations: 192 / 329.8 MB, free: 1.809 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.1372, allocations: 3.938 kB / 329.8 MB, free: 1.805 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1372, allocations: 4 kB / 329.8 MB, free: 1.801 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.853e-05/0.1372, allocations: 11.98 kB / 329.9 MB, free: 1.789 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004662/0.1377, allocations: 241 kB / 330.1 MB, free: 1.504 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.325e-05/0.1378, allocations: 26.52 kB / 330.1 MB, free: 1.469 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.1379, allocations: 16.86 kB / 330.1 MB, free: 1.449 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.1379, allocations: 0 / 330.1 MB, free: 1.449 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/0.138, allocations: 67.27 kB / 330.2 MB, free: 1.371 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.773e-06/0.1381, allocations: 0 / 330.2 MB, free: 1.371 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002483/0.1383, allocations: 61.61 kB / 330.3 MB, free: 1.305 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.1384, allocations: 51.41 kB / 330.3 MB, free: 1.242 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1385, allocations: 105.8 kB / 330.4 MB, free: 1.129 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1385, allocations: 25.7 kB / 330.4 MB, free: 1.098 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.1386, allocations: 84.14 kB / 330.5 MB, free: 1.012 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.1387, allocations: 11.91 kB / 330.5 MB, free: 1 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.1387, allocations: 17.72 kB / 330.5 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1389, allocations: 314.8 kB / 330.9 MB, free: 0.6602 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.897e-05/0.1389, allocations: 8 kB / 330.9 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.139, allocations: 13.72 kB / 330.9 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/0.1391, allocations: 37.64 kB / 330.9 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1391, allocations: 4 kB / 330.9 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001632/0.1393, allocations: 61.53 kB / 331 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.1393, allocations: 8 kB / 331 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.1393, allocations: 0 / 331 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1393, allocations: 0 / 331 MB, free: 0.5117 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.364e-05/0.1394, allocations: 7.938 kB / 331 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.1394, allocations: 4 kB / 331 MB, free: 0.5 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.531e-05/0.1395, allocations: 240 / 331 MB, free: 0.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-06/0.1395, allocations: 384 / 331 MB, free: 0.5 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.0001198/0.1396, allocations: 125.8 kB / 331.1 MB, free: 376 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.742e-05/0.1397, allocations: 3.984 kB / 331.1 MB, free: 372 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.297e-05/0.1397, allocations: 7.906 kB / 331.1 MB, free: 360 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.1397, allocations: 0 / 331.1 MB, free: 360 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.1397, allocations: 4 kB / 331.1 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1397, allocations: 0 / 331.1 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.1401, allocations: 286.5 kB / 331.4 MB, free: 12 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.1401, allocations: 3.984 kB / 331.4 MB, free: 8 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.767e-05/0.1401, allocations: 3.938 kB / 331.4 MB, free: 4 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1401, allocations: 4 kB / 331.4 MB, free: 0 / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.1401, allocations: 0 / 331.4 MB, free: 0 / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.769e-05/0.1402, allocations: 4.047 kB / 331.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1402, allocations: 0 / 331.4 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.1404, allocations: 147.3 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.1405, allocations: 81.11 kB / 331.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.1405, allocations: 0 / 331.7 MB, free: 15.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.1406, allocations: 7.922 kB / 331.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.1406, allocations: 4 kB / 331.7 MB, free: 15.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.1406, allocations: 4 kB / 331.7 MB, free: 15.72 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.291e-05/0.1407, allocations: 83.28 kB / 331.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1407, allocations: 3.938 kB / 331.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004477/0.1412, allocations: 31.98 kB / 331.8 MB, free: 15.61 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.0005766/0.1418, allocations: 190.4 kB / 332 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.1419, allocations: 19.98 kB / 332 MB, free: 15.4 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1419, allocations: 0 / 332 MB, free: 15.4 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.137e-05/0.142, allocations: 15.94 kB / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/0.1423, allocations: 0 / 332 MB, free: 15.39 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.1427, allocations: 117.6 kB / 332.1 MB, free: 15.25 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1431, allocations: 0.6806 MB / 332.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.665e-05/0.1431, allocations: 4 kB / 332.8 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.1432, allocations: 11.44 kB / 332.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1432, allocations: 0 / 332.8 MB, free: 14.52 MB / 286.1 MB Notification: Performance of Templates: time 0.00477/0.148, allocations: 0.9568 MB / 333.8 MB, free: 13.57 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","/var/lib/jenkins/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