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.000995/0.000995, allocations: 87.62 kB / 21.43 MB, free: 3.129 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.006691/0.006691, allocations: 162.9 kB / 24.69 MB, free: 9.406 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 0.8491/0.8491, allocations: 158.6 MB / 186.5 MB, free: 3.043 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: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.479e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.00211/0.002135, allocations: 1.344 MB / 299.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006142/0.002749, allocations: 344.4 kB / 300.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.835e-05/0.002778, allocations: 0 / 300.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.618e-05/0.002804, allocations: 3.938 kB / 300.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.794e-05/0.002862, allocations: 7.938 kB / 300.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.003344, allocations: 91.62 kB / 300.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.664e-05/0.003421, allocations: 11.94 kB / 300.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.003465, allocations: 4 kB / 300.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.221e-05/0.003507, allocations: 11.98 kB / 300.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.693e-05/0.003534, allocations: 3.984 kB / 300.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.649e-05/0.00355, allocations: 8 kB / 300.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.003779, allocations: 115.7 kB / 300.4 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.819e-05/0.003797, allocations: 11.94 kB / 300.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.00382, allocations: 0 / 300.4 MB, free: 1.551 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.004005, allocations: 103.7 kB / 300.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.004009, allocations: 0 / 300.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.00401, allocations: 0 / 300.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.004015, allocations: 0 / 300.5 MB, free: 1.449 MB / 282.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.0004455/0.00446, allocations: 274.2 kB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.004503, allocations: 15.92 kB / 300.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.482e-05/0.004557, allocations: 30.75 kB / 300.8 MB, free: 1.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.004586, allocations: 8.938 kB / 300.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.084e-05/0.004667, allocations: 109.7 kB / 300.9 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.004682, allocations: 8.359 kB / 300.9 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.004691, allocations: 4.375 kB / 300.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.004774, allocations: 34.2 kB / 301 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.004781, allocations: 4.188 kB / 301 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.00479, allocations: 4.359 kB / 301 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.004795, allocations: 4.125 kB / 301 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.067e-05/0.004816, allocations: 8 kB / 301 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003146/0.00513, allocations: 216 kB / 301.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.215e-05/0.005182, allocations: 30.52 kB / 301.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.005202, allocations: 16.91 kB / 301.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/0.00521, allocations: 0 / 301.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001201/0.00533, allocations: 51.34 kB / 301.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.005331, allocations: 0 / 301.3 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001732/0.005505, allocations: 61.58 kB / 301.3 MB, free: 452 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/0.005544, allocations: 55.41 kB / 301.4 MB, free: 384 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.562e-05/0.00561, allocations: 105.8 kB / 301.5 MB, free: 268 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.005619, allocations: 25.7 kB / 301.5 MB, free: 236 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.005762, allocations: 84.14 kB / 301.6 MB, free: 148 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.005773, allocations: 7.953 kB / 301.6 MB, free: 140 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.005808, allocations: 25.7 kB / 301.6 MB, free: 108 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.1363/0.1421, allocations: 310.8 kB / 301.9 MB, free: 14.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.095e-05/0.1421, allocations: 6 kB / 302 MB, free: 14.99 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.451e-05/0.1422, allocations: 21.58 kB / 302 MB, free: 14.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.1e-05/0.1422, allocations: 27.25 kB / 302 MB, free: 14.96 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.1422, allocations: 1.406 kB / 302 MB, free: 14.96 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.574e-05/0.1423, allocations: 64.55 kB / 302.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.1424, allocations: 5.656 kB / 302.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.1424, allocations: 4.812 kB / 302.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.1424, allocations: 1.188 kB / 302.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.125e-05/0.1425, allocations: 7 kB / 302.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.1425, allocations: 1.062 kB / 302.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.834e-05/0.1425, allocations: 8.172 kB / 302.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.1425, allocations: 3.219 kB / 302.1 MB, free: 14.93 MB / 282.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.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 5.566e-05/0.1425, allocations: 116.4 kB / 302.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.619e-06/0.1425, allocations: 7.531 kB / 302.2 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.1426, allocations: 5.094 kB / 302.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1426, allocations: 0 / 302.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1426, allocations: 6.594 kB / 302.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1426, allocations: 0 / 302.2 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.1428, allocations: 257.3 kB / 302.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.1428, allocations: 3.812 kB / 302.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.275e-05/0.1428, allocations: 3.016 kB / 302.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1428, allocations: 0 / 302.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.1428, allocations: 5.531 kB / 302.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.1428, allocations: 0.7188 kB / 302.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.1428, allocations: 0 / 302.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.366e-05/0.1429, allocations: 150 kB / 302.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.1429, allocations: 1.922 kB / 302.6 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.147e-05/0.1429, allocations: 5.641 kB / 302.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.865e-05/0.1429, allocations: 0 / 302.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.143, allocations: 6.406 kB / 302.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.143, allocations: 3.797 kB / 302.7 MB, free: 14.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 2.382e-05/0.143, allocations: 85.61 kB / 302.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.143, allocations: 0 / 302.7 MB, free: 14.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002246/0.1432, allocations: 29.17 kB / 302.8 MB, free: 14.34 MB / 282.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.0004881/0.1437, allocations: 0.7973 MB / 303.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.209e-05/0.1438, allocations: 20.16 kB / 303.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1438, allocations: 1.312 kB / 303.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.055e-05/0.1438, allocations: 13.42 kB / 303.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.144, allocations: 1.984 kB / 303.6 MB, free: 13.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006498/0.1446, allocations: 1.225 MB / 304.8 MB, free: 12.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.784e-05/0.1447, allocations: 64.73 kB / 304.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.803e-05/0.1447, allocations: 5.719 kB / 304.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.1447, allocations: 13.48 kB / 304.9 MB, free: 12.42 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1447, allocations: 8.469 kB / 304.9 MB, free: 12.41 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.1655, allocations: 2.595 MB / 307.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.802/6.967, allocations: 8.953 kB / 307.5 MB, free: 11.23 MB / 282.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator_fmu --startTime=0 --stopTime=2 --stepSize=0.000384541 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/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: 8.547295310534537]