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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 88.3 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 172.4 kB / 25.6 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.142/1.142, allocations: 158.6 MB / 187.5 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5201,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=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.898e-06/3.898e-06, allocations: 4 kB / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.23e-05/3.62e-05, allocations: 2.312 kB / 251.5 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002967/0.003003, allocations: 1.368 MB / 252.8 MB, free: 5.844 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008796/0.003883, allocations: 355.6 kB / 253.2 MB, free: 5.492 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.003923, allocations: 0 / 253.2 MB, free: 5.492 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.013e-05/0.003953, allocations: 3.938 kB / 253.2 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.566e-05/0.004019, allocations: 0 / 253.2 MB, free: 5.488 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005551/0.004574, allocations: 99.58 kB / 253.3 MB, free: 5.391 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 6.856e-05/0.004643, allocations: 23.92 kB / 253.3 MB, free: 5.367 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.707e-05/0.00468, allocations: 4 kB / 253.3 MB, free: 5.363 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.196e-05/0.004722, allocations: 7.938 kB / 253.3 MB, free: 5.355 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.156e-05/0.004743, allocations: 7.984 kB / 253.3 MB, free: 5.348 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.004756, allocations: 0 / 253.3 MB, free: 5.348 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.004996, allocations: 127.7 kB / 253.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.00501, allocations: 0 / 253.5 MB, free: 5.223 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.00503, allocations: 7.938 kB / 253.5 MB, free: 5.215 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.005219, allocations: 95.69 kB / 253.6 MB, free: 5.121 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.005224, allocations: 8 kB / 253.6 MB, free: 5.113 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.005225, allocations: 0 / 253.6 MB, free: 5.113 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.005229, allocations: 0 / 253.6 MB, free: 5.113 MB / 234.7 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.0003803/0.005609, allocations: 376.4 kB / 253.9 MB, free: 4.707 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.005655, allocations: 15.98 kB / 253.9 MB, free: 4.691 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.277e-05/0.005688, allocations: 4.938 kB / 254 MB, free: 4.688 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.65e-05/0.005775, allocations: 108.6 kB / 254.1 MB, free: 4.555 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.005791, allocations: 4.375 kB / 254.1 MB, free: 4.551 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-06/0.0058, allocations: 4.375 kB / 254.1 MB, free: 4.547 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.668e-05/0.005867, allocations: 30.25 kB / 254.1 MB, free: 4.512 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.005874, allocations: 4.188 kB / 254.1 MB, free: 4.508 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-06/0.00588, allocations: 384 / 254.1 MB, free: 4.508 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.005886, allocations: 4.375 kB / 254.1 MB, free: 4.504 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.126e-05/0.005897, allocations: 7.875 kB / 254.1 MB, free: 4.496 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002696/0.006167, allocations: 228.4 kB / 254.3 MB, free: 4.246 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.437e-05/0.006221, allocations: 35.03 kB / 254.4 MB, free: 4.199 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.006239, allocations: 15.73 kB / 254.4 MB, free: 4.18 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.006245, allocations: 0 / 254.4 MB, free: 4.18 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.599e-05/0.006331, allocations: 57 kB / 254.4 MB, free: 4.109 MB / 234.7 MB Notification: Performance of pre-optimization done (n=3): time 1.452e-06/0.006333, allocations: 4 kB / 254.4 MB, free: 4.105 MB / 234.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001791/0.006512, allocations: 57.61 kB / 254.5 MB, free: 4.043 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.006549, allocations: 51.41 kB / 254.6 MB, free: 3.98 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.006651, allocations: 161.9 kB / 254.7 MB, free: 3.805 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.006665, allocations: 29.69 kB / 254.7 MB, free: 3.77 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.006719, allocations: 130.9 kB / 254.9 MB, free: 3.637 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.006737, allocations: 7.953 kB / 254.9 MB, free: 3.629 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.006779, allocations: 23.36 kB / 254.9 MB, free: 3.598 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.006939, allocations: 496.1 kB / 255.4 MB, free: 3.102 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.006967, allocations: 16.7 kB / 255.4 MB, free: 3.082 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.007005, allocations: 27.31 kB / 255.4 MB, free: 3.047 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.118e-05/0.007056, allocations: 39.28 kB / 255.5 MB, free: 3 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.007059, allocations: 0 / 255.5 MB, free: 3 MB / 234.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001153/0.007175, allocations: 57.58 kB / 255.5 MB, free: 2.938 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.007193, allocations: 4 kB / 255.5 MB, free: 2.934 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.007199, allocations: 4 kB / 255.5 MB, free: 2.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.007214, allocations: 3.938 kB / 255.5 MB, free: 2.926 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.062e-05/0.007264, allocations: 4 kB / 255.5 MB, free: 2.922 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.007272, allocations: 4 kB / 255.5 MB, free: 2.918 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.805e-05/0.00729, allocations: 0 / 255.5 MB, free: 2.918 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.007296, allocations: 4.031 kB / 255.5 MB, free: 2.914 MB / 234.7 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.seed,globalSeed.id_impure,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.0001/0.007396, allocations: 164.6 kB / 255.7 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.007407, allocations: 0 / 255.7 MB, free: 2.742 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.69e-05/0.007444, allocations: 8 kB / 255.7 MB, free: 2.73 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.007448, allocations: 3.938 kB / 255.7 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.007451, allocations: 384 / 255.7 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.007455, allocations: 0 / 255.7 MB, free: 2.727 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002298/0.007685, allocations: 270 kB / 256 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.007688, allocations: 4 kB / 256 MB, free: 2.426 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.805e-05/0.007706, allocations: 4 kB / 256 MB, free: 2.422 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.007709, allocations: 4 kB / 256 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.007714, allocations: 0 / 256 MB, free: 2.418 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.007717, allocations: 3.938 kB / 256 MB, free: 2.414 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.007718, allocations: 0 / 256 MB, free: 2.414 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.007843, allocations: 200.1 kB / 256.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-06/0.00785, allocations: 48 / 256.2 MB, free: 2.199 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.007864, allocations: 11.97 kB / 256.2 MB, free: 2.188 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.501e-05/0.007909, allocations: 3.938 kB / 256.2 MB, free: 2.184 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.007931, allocations: 0 / 256.2 MB, free: 2.184 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.007943, allocations: 0 / 256.2 MB, free: 2.184 MB / 234.7 MB Notification: Performance of sorting global known variables: time 5.542e-05/0.007999, allocations: 127.2 kB / 256.3 MB, free: 2.059 MB / 234.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007999, allocations: 4 kB / 256.3 MB, free: 2.055 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0003028/0.008302, allocations: 31.88 kB / 256.4 MB, free: 2.023 MB / 234.7 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.000453/0.008755, allocations: 196.8 kB / 256.6 MB, free: 1.852 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0001021/0.008857, allocations: 31.61 kB / 256.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.008859, allocations: 0 / 256.6 MB, free: 1.816 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.008884, allocations: 11.78 kB / 256.6 MB, free: 1.801 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.009085, allocations: 11.88 kB / 256.6 MB, free: 1.789 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002917/0.009376, allocations: 121.5 kB / 256.7 MB, free: 1.645 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.835e-05/0.009425, allocations: 55.34 kB / 256.8 MB, free: 1.57 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 2.992e-05/0.009455, allocations: 4 kB / 256.8 MB, free: 1.566 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.009496, allocations: 74.19 kB / 256.9 MB, free: 1.488 MB / 234.7 MB Notification: Performance of SimCode: time 8.92e-07/0.009497, allocations: 0 / 256.9 MB, free: 1.488 MB / 234.7 MB Notification: Performance of Templates: time 0.003555/0.01305, allocations: 1.118 MB / 258 MB, free: 380 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.979355567134917]