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.001295/0.001295, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.008017/0.008017, allocations: 165.8 kB / 24.7 MB, free: 8.887 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.8599/0.8599, 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.683e-06/1.683e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.447e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.001872/0.001887, allocations: 1.339 MB / 299.8 MB, free: 2.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006198/0.002507, allocations: 340.4 kB / 300.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.608e-05/0.002543, allocations: 0 / 300.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.983e-05/0.002593, allocations: 7.938 kB / 300.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.871e-05/0.002661, allocations: 7.922 kB / 300.1 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000559/0.00322, allocations: 91.58 kB / 300.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.626e-05/0.003287, allocations: 15.92 kB / 300.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.805e-05/0.003325, allocations: 8 kB / 300.2 MB, free: 1.691 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.003363, allocations: 7.984 kB / 300.3 MB, free: 1.684 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.206e-05/0.003385, allocations: 4 kB / 300.3 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.003399, allocations: 4 kB / 300.3 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.003604, allocations: 123.7 kB / 300.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.003619, allocations: 7.938 kB / 300.4 MB, free: 1.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.349e-05/0.003642, allocations: 4 kB / 300.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001797/0.003822, allocations: 95.73 kB / 300.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.003825, allocations: 0 / 300.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.003827, allocations: 0 / 300.5 MB, free: 1.449 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.003831, 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.0003581/0.004189, allocations: 274.2 kB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.004245, allocations: 15.92 kB / 300.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.004303, allocations: 34.75 kB / 300.8 MB, free: 1.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.962e-05/0.004333, allocations: 8.891 kB / 300.8 MB, free: 1.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.523e-05/0.004418, allocations: 117.7 kB / 300.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.004432, allocations: 384 / 300.9 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.004448, allocations: 4.359 kB / 300.9 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.438e-05/0.004542, allocations: 38.27 kB / 301 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.00455, allocations: 192 / 301 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.00456, allocations: 4.359 kB / 301 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.004566, allocations: 4.125 kB / 301 MB, free: 0.8867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.035e-05/0.004586, allocations: 4 kB / 301 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.00495, allocations: 223.9 kB / 301.2 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.047e-05/0.005011, allocations: 22.58 kB / 301.2 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.213e-05/0.005033, allocations: 16.91 kB / 301.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.527e-06/0.005042, allocations: 0 / 301.2 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.005201, allocations: 55.34 kB / 301.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.005202, allocations: 0 / 301.3 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001725/0.005375, allocations: 57.58 kB / 301.3 MB, free: 452 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.005424, allocations: 55.41 kB / 301.4 MB, free: 384 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.005494, allocations: 109.8 kB / 301.5 MB, free: 264 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.005505, allocations: 25.7 kB / 301.5 MB, free: 232 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.005545, allocations: 84.14 kB / 301.6 MB, free: 144 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.295e-05/0.005558, allocations: 15.88 kB / 301.6 MB, free: 128 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.271e-05/0.005591, allocations: 21.7 kB / 301.7 MB, free: 100 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.1389/0.1445, allocations: 314.8 kB / 302 MB, free: 15.46 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.093e-05/0.1446, allocations: 2.75 kB / 302 MB, free: 15.46 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-05/0.1447, allocations: 24.23 kB / 302 MB, free: 15.45 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.483e-05/0.1447, allocations: 25.88 kB / 302 MB, free: 15.43 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.1447, allocations: 0 / 302 MB, free: 15.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001405/0.1449, allocations: 59.78 kB / 302.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.1449, allocations: 9.25 kB / 302.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.1449, allocations: 4.062 kB / 302.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.1449, allocations: 1.688 kB / 302.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.948e-05/0.145, allocations: 5.875 kB / 302.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.145, allocations: 6.984 kB / 302.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.1451, allocations: 8.047 kB / 302.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.1451, allocations: 1.656 kB / 302.1 MB, free: 15.4 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 7.925e-05/0.1452, allocations: 111.8 kB / 302.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.1452, allocations: 6.969 kB / 302.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.1452, allocations: 8.328 kB / 302.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1452, allocations: 0 / 302.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/0.1452, allocations: 7.938 kB / 302.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1452, allocations: 1.188 kB / 302.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.1455, allocations: 255.9 kB / 302.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1455, allocations: 1.094 kB / 302.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.37e-05/0.1455, allocations: 1.828 kB / 302.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.1455, allocations: 2.344 kB / 302.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.1455, allocations: 3.938 kB / 302.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.1455, allocations: 0.875 kB / 302.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.1455, allocations: 0 / 302.5 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.1456, allocations: 153.1 kB / 302.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.1457, allocations: 5.625 kB / 302.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.1457, allocations: 6.781 kB / 302.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.294e-05/0.1457, allocations: 0 / 302.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.1457, allocations: 4.562 kB / 302.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.1458, allocations: 0.75 kB / 302.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.404e-05/0.1458, allocations: 87.48 kB / 302.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1458, allocations: 3.781 kB / 302.8 MB, free: 14.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003121/0.1461, allocations: 21.91 kB / 302.8 MB, free: 14.81 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.0006605/0.1468, allocations: 0.7811 MB / 303.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1469, allocations: 27.89 kB / 303.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1469, allocations: 1.312 kB / 303.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.691e-05/0.1469, allocations: 10.45 kB / 303.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.1472, allocations: 6.328 kB / 303.6 MB, free: 14.12 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009417/0.1481, allocations: 1.225 MB / 304.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.96e-05/0.1482, allocations: 66.47 kB / 304.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.033e-05/0.1482, allocations: 6.25 kB / 304.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.044e-05/0.1482, allocations: 15.06 kB / 304.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1482, allocations: 0 / 304.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.168, allocations: 2.608 MB / 307.5 MB, free: 11.71 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/7.081, allocations: 8.828 kB / 307.5 MB, free: 11.7 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000384541 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.csv","/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.78147427085787]