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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002061/0.002061, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002281/0.002281, allocations: 186 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] 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=5201,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=5201,variableFilter="time|impureRandom_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3501/0.3516, allocations: 52.14 MB / 420.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.ImpureGenerator): time 0.002877/0.3545, allocations: 1.352 MB / 422.2 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009995/0.3555, allocations: 368.9 kB / 422.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.3556, allocations: 0 / 422.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.3556, allocations: 3.938 kB / 422.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.602e-05/0.3557, allocations: 4 kB / 422.6 MB, free: 13.37 MB / 334.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.0007404/0.3564, allocations: 83.73 kB / 422.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.3565, allocations: 23.91 kB / 422.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.039e-05/0.3566, allocations: 0 / 422.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.645e-05/0.3566, allocations: 11.94 kB / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.3567, allocations: 3.984 kB / 422.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.3567, allocations: 7.938 kB / 422.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002493/0.3569, allocations: 95.83 kB / 422.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.357, allocations: 3.984 kB / 422.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.579e-05/0.357, allocations: 11.94 kB / 422.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002607/0.3573, allocations: 87.61 kB / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.3573, allocations: 0 / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3573, allocations: 0 / 422.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.3573, allocations: 0 / 422.9 MB, free: 13.05 MB / 334.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.0006351/0.3579, allocations: 348.7 kB / 423.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.358, allocations: 8.031 kB / 423.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.358, allocations: 8.891 kB / 423.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3582, allocations: 160.4 kB / 423.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.3582, allocations: 8.375 kB / 423.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.3582, allocations: 384 / 423.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3584, allocations: 49.5 kB / 423.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.3584, allocations: 0 / 423.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.3584, allocations: 3.938 kB / 423.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.3584, allocations: 0 / 423.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.097e-05/0.3584, allocations: 4 kB / 423.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.3589, allocations: 244.9 kB / 423.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.03e-05/0.359, allocations: 26.58 kB / 423.7 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.312e-05/0.359, allocations: 16.84 kB / 423.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.359, allocations: 0 / 423.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001952/0.3592, allocations: 51.41 kB / 423.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.292e-06/0.3592, allocations: 0 / 423.8 MB, free: 11.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002375/0.3595, allocations: 57.81 kB / 423.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.3595, allocations: 55.41 kB / 423.9 MB, free: 11.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.3597, allocations: 121.8 kB / 424 MB, free: 11.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.3597, allocations: 25.7 kB / 424.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.405e-05/0.3597, allocations: 80.14 kB / 424.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.3598, allocations: 11.94 kB / 424.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.3598, allocations: 13.72 kB / 424.2 MB, free: 11.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.36, allocations: 322.8 kB / 424.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.956e-05/0.36, allocations: 7.984 kB / 424.5 MB, free: 11.24 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.657e-05/0.3601, allocations: 17.72 kB / 424.5 MB, free: 11.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.723e-05/0.3601, allocations: 33.72 kB / 424.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3601, allocations: 0 / 424.5 MB, free: 11.18 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000101/0.3602, allocations: 53.62 kB / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.3602, allocations: 4 kB / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3602, allocations: 0 / 424.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3603, allocations: 7.984 kB / 424.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.05e-05/0.3603, allocations: 4 kB / 424.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.3603, allocations: 0 / 424.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.301e-05/0.3604, allocations: 11.98 kB / 424.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.3604, allocations: 7.938 kB / 424.6 MB, free: 11.09 MB / 334.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.000102/0.3605, allocations: 121.7 kB / 424.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-06/0.3605, allocations: 0 / 424.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.257e-05/0.3605, allocations: 7.891 kB / 424.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3605, allocations: 0 / 424.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3605, allocations: 4 kB / 424.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3605, allocations: 0 / 424.8 MB, free: 10.94 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003035/0.3608, allocations: 286.6 kB / 425 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3608, allocations: 3.938 kB / 425 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.43e-05/0.3608, allocations: 4 kB / 425.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3608, allocations: 0 / 425.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/0.3609, allocations: 0 / 425.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3609, allocations: 0 / 425.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3609, allocations: 3.938 kB / 425.1 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.361, allocations: 151.5 kB / 425.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.3611, allocations: 81.06 kB / 425.3 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.3611, allocations: 8 kB / 425.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.715e-05/0.3611, allocations: 384 / 425.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.874e-05/0.3611, allocations: 3.938 kB / 425.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.3612, allocations: 0 / 425.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.354e-05/0.3612, allocations: 95.27 kB / 425.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3612, allocations: 0 / 425.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3615, allocations: 19.94 kB / 425.4 MB, free: 10.2 MB / 334.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.0004761/0.362, allocations: 185.7 kB / 425.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.3621, allocations: 23.92 kB / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3621, allocations: 0 / 425.6 MB, free: 10.02 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.3621, allocations: 4 kB / 425.6 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3623, allocations: 8 kB / 425.6 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003314/0.3627, allocations: 121.6 kB / 425.7 MB, free: 9.859 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.363, allocations: 0.6844 MB / 426.4 MB, free: 9.148 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.363e-05/0.363, allocations: 11.97 kB / 426.4 MB, free: 9.137 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.3631, allocations: 15.38 kB / 426.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3631, allocations: 0 / 426.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of Templates: time 0.004088/0.3671, allocations: 0.9494 MB / 427.4 MB, free: 8.172 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.ImpureGenerator.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.729542971588671]