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.001243/0.001243, allocations: 107.3 kB / 18.35 MB, free: 4.77 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.001038/0.001038, allocations: 188.1 kB / 19.29 MB, free: 3.844 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.475/1.475, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001793/0.001794, allocations: 51.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.111, 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.0028/0.1138, allocations: 1.327 MB / 330.1 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007976/0.1146, allocations: 363.6 kB / 330.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.1147, allocations: 0 / 330.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.535e-05/0.1147, allocations: 0 / 330.4 MB, free: 2.059 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 6.086e-05/0.1148, allocations: 7.938 kB / 330.4 MB, free: 2.051 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.1153, allocations: 91.72 kB / 330.5 MB, free: 1.961 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.331e-05/0.1154, allocations: 12 kB / 330.5 MB, free: 1.949 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.1154, allocations: 3.984 kB / 330.5 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.624e-05/0.1154, allocations: 7.938 kB / 330.5 MB, free: 1.938 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.636e-05/0.1155, allocations: 19.86 kB / 330.6 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.1155, allocations: 0 / 330.6 MB, free: 1.918 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001757/0.1157, allocations: 87.91 kB / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.291e-05/0.1157, allocations: 0 / 330.6 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.249e-05/0.1157, allocations: 11.94 kB / 330.7 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001781/0.1159, allocations: 83.81 kB / 330.7 MB, free: 1.738 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.1159, allocations: 3.984 kB / 330.7 MB, free: 1.734 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1159, allocations: 0 / 330.7 MB, free: 1.734 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.1159, allocations: 0 / 330.7 MB, free: 1.734 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.0004686/0.1164, allocations: 347.4 kB / 331.1 MB, free: 1.344 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.1165, allocations: 8.031 kB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.1165, allocations: 4.938 kB / 331.1 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.1167, allocations: 172.2 kB / 331.3 MB, free: 1.125 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1167, allocations: 4.359 kB / 331.3 MB, free: 1.121 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.1167, allocations: 8.312 kB / 331.3 MB, free: 1.113 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.1168, allocations: 30.27 kB / 331.3 MB, free: 1.078 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1168, allocations: 192 / 331.3 MB, free: 1.078 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.1168, allocations: 3.938 kB / 331.3 MB, free: 1.074 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.1169, allocations: 0 / 331.3 MB, free: 1.074 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.78e-05/0.1169, allocations: 11.98 kB / 331.3 MB, free: 1.062 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.1173, allocations: 240.9 kB / 331.5 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.622e-05/0.1174, allocations: 26.56 kB / 331.6 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.1174, allocations: 12.86 kB / 331.6 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.1174, allocations: 0 / 331.6 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001227/0.1175, allocations: 51.41 kB / 331.6 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1175, allocations: 0 / 331.6 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001915/0.1177, allocations: 69.61 kB / 331.7 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1178, allocations: 51.41 kB / 331.8 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.52e-05/0.1179, allocations: 109.8 kB / 331.9 MB, free: 420 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.1179, allocations: 25.7 kB / 331.9 MB, free: 388 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.574e-05/0.118, allocations: 84.14 kB / 332 MB, free: 300 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.118, allocations: 3.906 kB / 332 MB, free: 296 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.42e-05/0.118, allocations: 21.72 kB / 332 MB, free: 268 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1182, allocations: 318.8 kB / 332.3 MB, free: 15.94 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.1182, allocations: 8 kB / 332.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.294e-05/0.1183, allocations: 13.72 kB / 332.3 MB, free: 15.91 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.919e-05/0.1183, allocations: 37.64 kB / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1183, allocations: 0 / 332.4 MB, free: 15.87 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.641e-05/0.1184, allocations: 65.47 kB / 332.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.1184, allocations: 4 kB / 332.4 MB, free: 15.8 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1184, allocations: 4.031 kB / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1185, allocations: 4 kB / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.222e-05/0.1185, allocations: 4 kB / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1186, allocations: 4.375 kB / 332.4 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.1186, allocations: 3.938 kB / 332.5 MB, free: 15.78 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1186, allocations: 0 / 332.5 MB, free: 15.78 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 8.876e-05/0.1187, allocations: 117.8 kB / 332.6 MB, free: 15.65 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.1187, allocations: 8.234 kB / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.1187, allocations: 7.906 kB / 332.6 MB, free: 15.63 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1187, allocations: 7.984 kB / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1187, allocations: 0 / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1188, allocations: 0 / 332.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.119, allocations: 282.5 kB / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.119, allocations: 0 / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.119, allocations: 7.984 kB / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.119, allocations: 0 / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.1191, allocations: 0 / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1191, allocations: 0 / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1191, allocations: 3.984 kB / 332.9 MB, free: 15.28 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1192, allocations: 155.4 kB / 333 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.1193, allocations: 81.11 kB / 333.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1193, allocations: 0 / 333.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.609e-05/0.1193, allocations: 0 / 333.1 MB, free: 15.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.1194, allocations: 7.922 kB / 333.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1194, allocations: 4 kB / 333.1 MB, free: 15 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.638e-05/0.1194, allocations: 83.28 kB / 333.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1194, allocations: 3.938 kB / 333.2 MB, free: 14.92 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1197, allocations: 31.98 kB / 333.2 MB, free: 14.89 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.0004045/0.1201, allocations: 190.3 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.1202, allocations: 23.94 kB / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1203, allocations: 0 / 333.4 MB, free: 14.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.851e-05/0.1203, allocations: 15.92 kB / 333.5 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.0002068/0.1205, allocations: 4 kB / 333.5 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002776/0.1208, allocations: 109.6 kB / 333.6 MB, free: 14.53 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.121, allocations: 0.6806 MB / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.1211, allocations: 4 kB / 334.3 MB, free: 13.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.1211, allocations: 11.44 kB / 334.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1211, allocations: 4.062 kB / 334.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of Templates: time 0.003344/0.1245, allocations: 0.9411 MB / 335.2 MB, free: 12.86 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 cvode -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