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.001582/0.001582, allocations: 82.92 kB / 22 MB, free: 5.18 MB / 14.72 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.001643/0.001643, allocations: 161.4 kB / 25.25 MB, free: 3.023 MB / 14.72 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.385/1.385, allocations: 158.6 MB / 187 MB, free: 6.238 MB / 174.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 55.92 kB / 299.4 MB, free: 6.852 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.231/0.2328, allocations: 49.14 MB / 348.5 MB, free: 15.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002571/0.2354, allocations: 1.337 MB / 349.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008385/0.2362, allocations: 347.8 kB / 350.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.493e-05/0.2362, allocations: 0 / 350.2 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.993e-05/0.2363, allocations: 3.938 kB / 350.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.98e-05/0.2363, allocations: 0 / 350.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004739/0.2368, allocations: 95.64 kB / 350.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.497e-05/0.2369, allocations: 23.92 kB / 350.3 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.73e-05/0.2369, allocations: 4 kB / 350.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.2369, allocations: 11.92 kB / 350.3 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.176e-05/0.237, allocations: 4 kB / 350.3 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.032e-05/0.237, allocations: 3.938 kB / 350.3 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002642/0.2372, allocations: 123.8 kB / 350.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.2372, allocations: 3.984 kB / 350.4 MB, free: 13.56 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.2373, allocations: 4 kB / 350.5 MB, free: 13.55 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.2375, allocations: 94.22 kB / 350.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.2375, allocations: 0 / 350.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2375, allocations: 0 / 350.5 MB, free: 13.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2375, allocations: 0 / 350.5 MB, free: 13.47 MB / 318.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.0003946/0.2379, allocations: 273.9 kB / 350.8 MB, free: 13.17 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/0.2379, allocations: 15.98 kB / 350.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.2379, allocations: 0.9375 kB / 350.8 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.2381, allocations: 110.5 kB / 350.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.2381, allocations: 384 / 350.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2381, allocations: 4.312 kB / 350.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.2382, allocations: 38.25 kB / 351 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.2382, allocations: 192 / 351 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.2382, allocations: 7.938 kB / 351 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.2382, allocations: 0 / 351 MB, free: 12.97 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.2382, allocations: 4 kB / 351 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000344/0.2385, allocations: 188.6 kB / 351.2 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.35e-05/0.2386, allocations: 30.5 kB / 351.2 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.2386, allocations: 12.92 kB / 351.2 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.2386, allocations: 3.938 kB / 351.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000124/0.2388, allocations: 51.34 kB / 351.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2388, allocations: 0 / 351.3 MB, free: 12.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001792/0.2389, allocations: 61.8 kB / 351.3 MB, free: 12.56 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.239, allocations: 55.41 kB / 351.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.459e-05/0.2391, allocations: 109.8 kB / 351.5 MB, free: 12.38 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2391, allocations: 25.7 kB / 351.5 MB, free: 12.35 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.896e-05/0.2392, allocations: 84.14 kB / 351.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.436e-05/0.2392, allocations: 3.953 kB / 351.6 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.2392, allocations: 21.72 kB / 351.6 MB, free: 12.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.2394, allocations: 314.8 kB / 351.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.2394, allocations: 8 kB / 351.9 MB, free: 11.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.2394, allocations: 21.72 kB / 352 MB, free: 11.88 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.437e-05/0.2395, allocations: 33.62 kB / 352 MB, free: 11.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2395, allocations: 0 / 352 MB, free: 11.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001013/0.2396, allocations: 69.52 kB / 352.1 MB, free: 11.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.2396, allocations: 8 kB / 352.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.2396, allocations: 0 / 352.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.2396, allocations: 0 / 352.1 MB, free: 11.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.2397, allocations: 8 kB / 352.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.2397, allocations: 3.938 kB / 352.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.584e-05/0.2397, allocations: 0 / 352.1 MB, free: 11.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.2397, allocations: 4 kB / 352.1 MB, free: 11.74 MB / 318.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.632e-05/0.2398, allocations: 113.8 kB / 352.2 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.2398, allocations: 11.89 kB / 352.2 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.2398, allocations: 8.406 kB / 352.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2398, allocations: 0 / 352.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2398, allocations: 0 / 352.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2398, allocations: 0 / 352.2 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.2401, allocations: 242.2 kB / 352.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2401, allocations: 3.938 kB / 352.5 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.459e-05/0.2401, allocations: 3.938 kB / 352.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.2401, allocations: 4 kB / 352.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2401, allocations: 0 / 352.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2401, allocations: 0 / 352.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.2401, allocations: 0 / 352.5 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001407/0.2402, allocations: 157.1 kB / 352.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.2402, allocations: 4 kB / 352.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.2402, allocations: 0 / 352.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.2403, allocations: 0 / 352.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.671e-05/0.2403, allocations: 0 / 352.6 MB, free: 11.14 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.2403, allocations: 4 kB / 352.6 MB, free: 11.13 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.293e-05/0.2404, allocations: 87.27 kB / 352.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2404, allocations: 0 / 352.7 MB, free: 11.05 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000284/0.2407, allocations: 23.94 kB / 352.7 MB, free: 11.02 MB / 318.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.0004667/0.2411, allocations: 198.8 kB / 352.9 MB, free: 10.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.2412, allocations: 19.98 kB / 352.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2412, allocations: 0 / 352.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.662e-05/0.2413, allocations: 8 kB / 353 MB, free: 10.79 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000214/0.2415, allocations: 12 kB / 353 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003033/0.2418, allocations: 113.4 kB / 353.1 MB, free: 10.64 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.045e-05/0.2418, allocations: 67.28 kB / 353.1 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.697e-05/0.2419, allocations: 11.98 kB / 353.2 MB, free: 10.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.2419, allocations: 8.5 kB / 353.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2419, allocations: 0 / 353.2 MB, free: 10.54 MB / 318.1 MB Notification: Performance of Templates: time 0.00404/0.2459, allocations: 0.9508 MB / 354.1 MB, free: 9.586 MB / 318.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.415359801030718]