Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") translateModel(Modelica.Blocks.Examples.Noise.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 104.8 kB / 16.92 MB, free: 6.145 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.001259/0.001259, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009952/0.0009955, allocations: 52.08 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1188, allocations: 49.45 MB / 350.1 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002861/0.1217, allocations: 1.328 MB / 351.4 MB, free: 3.082 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007456/0.1225, allocations: 352.3 kB / 351.7 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.713e-05/0.1226, allocations: 0 / 351.7 MB, free: 2.738 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.136e-05/0.1226, allocations: 3.938 kB / 351.7 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.208e-05/0.1227, allocations: 3.938 kB / 351.7 MB, free: 2.73 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.0004937/0.1232, allocations: 91.66 kB / 351.8 MB, free: 2.641 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.255e-05/0.1232, allocations: 19.98 kB / 351.8 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.39e-05/0.1233, allocations: 0 / 351.8 MB, free: 2.621 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.733e-05/0.1233, allocations: 11.94 kB / 351.9 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.822e-05/0.1234, allocations: 7.969 kB / 351.9 MB, free: 2.602 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1234, allocations: 7.938 kB / 351.9 MB, free: 2.594 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.1236, allocations: 83.86 kB / 352 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.1236, allocations: 7.984 kB / 352 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.1237, allocations: 7.938 kB / 352 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.1239, allocations: 83.81 kB / 352 MB, free: 2.414 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.124, allocations: 0 / 352 MB, free: 2.414 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.546e-06/0.124, allocations: 0 / 352 MB, free: 2.414 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.124, allocations: 0 / 352 MB, free: 2.414 MB / 286.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.0005515/0.1246, allocations: 350.1 kB / 352.4 MB, free: 2.027 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.1246, allocations: 8.031 kB / 352.4 MB, free: 2.02 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.804e-05/0.1247, allocations: 4.922 kB / 352.4 MB, free: 2.016 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1248, allocations: 176.5 kB / 352.6 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.231e-05/0.1249, allocations: 4.375 kB / 352.6 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1249, allocations: 4.375 kB / 352.6 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.125, allocations: 37.81 kB / 352.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.125, allocations: 0 / 352.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.125, allocations: 0 / 352.6 MB, free: 1.754 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.1251, allocations: 7.938 kB / 352.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.1251, allocations: 0 / 352.6 MB, free: 1.746 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.1255, allocations: 248.9 kB / 352.9 MB, free: 1.453 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.763e-05/0.1256, allocations: 26.52 kB / 352.9 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.516e-05/0.1256, allocations: 8.922 kB / 352.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.999e-06/0.1256, allocations: 0 / 352.9 MB, free: 1.406 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1258, allocations: 59.39 kB / 353 MB, free: 1.336 MB / 286.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1258, allocations: 0 / 353 MB, free: 1.336 MB / 286.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001859/0.126, allocations: 57.61 kB / 353 MB, free: 1.273 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/0.1261, allocations: 59.41 kB / 353.1 MB, free: 1.203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.82e-05/0.1262, allocations: 101.8 kB / 353.2 MB, free: 1.094 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1262, allocations: 29.7 kB / 353.2 MB, free: 1.059 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.1262, allocations: 80.14 kB / 353.3 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.1263, allocations: 11.91 kB / 353.3 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/0.1263, allocations: 17.7 kB / 353.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1264, allocations: 322.8 kB / 353.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.1265, allocations: 4 kB / 353.6 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.29e-05/0.1265, allocations: 25.64 kB / 353.7 MB, free: 0.582 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.748e-05/0.1266, allocations: 29.66 kB / 353.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1266, allocations: 8 kB / 353.7 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.397e-05/0.1267, allocations: 53.97 kB / 353.7 MB, free: 492 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1267, allocations: 4 kB / 353.8 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1267, allocations: 0 / 353.8 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.1267, allocations: 0 / 353.8 MB, free: 488 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.1268, allocations: 19.92 kB / 353.8 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1268, allocations: 0 / 353.8 MB, free: 468 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.888e-05/0.1269, allocations: 4 kB / 353.8 MB, free: 464 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1269, allocations: 4 kB / 353.8 MB, free: 460 kB / 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 9.531e-05/0.127, allocations: 121.8 kB / 353.9 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.127, allocations: 0 / 353.9 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.127, allocations: 7.906 kB / 353.9 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.127, allocations: 0 / 353.9 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.127, allocations: 0 / 353.9 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.127, allocations: 4 kB / 353.9 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.1273, allocations: 286.5 kB / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1273, allocations: 0 / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.322e-05/0.1274, allocations: 4 kB / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.1274, allocations: 4 kB / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.1274, allocations: 0 / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1274, allocations: 0 / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1274, allocations: 0 / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.1275, allocations: 151.4 kB / 354.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.1276, allocations: 81.09 kB / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.1276, allocations: 0 / 354.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.582e-05/0.1277, allocations: 4 kB / 354.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1277, allocations: 4 kB / 354.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.1277, allocations: 3.938 kB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.528e-05/0.1278, allocations: 91.27 kB / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1278, allocations: 3.938 kB / 354.5 MB, free: 15.59 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002968/0.1281, allocations: 20 kB / 354.5 MB, free: 15.57 MB / 302.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.0004059/0.1285, allocations: 187.5 kB / 354.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1286, allocations: 23.98 kB / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1286, allocations: 0 / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.303e-05/0.1287, allocations: 7.938 kB / 354.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1289, allocations: 10.66 kB / 354.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002593/0.1291, allocations: 117.4 kB / 354.9 MB, free: 15.22 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000222/0.1294, allocations: 0.6768 MB / 355.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.374e-05/0.1294, allocations: 7.984 kB / 355.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.564e-05/0.1294, allocations: 7.438 kB / 355.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1294, allocations: 0 / 355.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of Templates: time 0.003384/0.1328, allocations: 0.9492 MB / 356.5 MB, free: 13.55 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches