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.001827/0.001827, allocations: 112.1 kB / 21.19 MB, free: 0.7031 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.002243/0.002243, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.611/1.611, allocations: 207.6 MB / 235.2 MB, free: 10 MB / 190.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: "" <> 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: 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.002002/0.002002, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3107, allocations: 49.16 MB / 396.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.003386/0.3141, allocations: 1.341 MB / 397.7 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3153, allocations: 372 kB / 398 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.665e-05/0.3153, allocations: 1.5 kB / 398 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.696e-05/0.3154, allocations: 4.594 kB / 398.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.459e-05/0.3155, allocations: 0 / 398.1 MB, free: 7.852 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007414/0.3162, allocations: 100.4 kB / 398.1 MB, free: 7.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.932e-05/0.3163, allocations: 14.34 kB / 398.2 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.668e-05/0.3164, allocations: 2.078 kB / 398.2 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.99e-05/0.3164, allocations: 7.438 kB / 398.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.499e-05/0.3165, allocations: 12.73 kB / 398.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/0.3165, allocations: 1.312 kB / 398.2 MB, free: 7.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.3169, allocations: 128.8 kB / 398.3 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.3169, allocations: 4.906 kB / 398.3 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.352e-05/0.3169, allocations: 6.766 kB / 398.3 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.3172, allocations: 85.41 kB / 398.4 MB, free: 7.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.3172, allocations: 0 / 398.4 MB, free: 7.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3172, allocations: 5.219 kB / 398.4 MB, free: 7.707 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.864e-06/0.3172, allocations: 0 / 398.4 MB, free: 7.707 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.0003993/0.3176, allocations: 269.4 kB / 398.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.3177, allocations: 18.11 kB / 398.7 MB, free: 7.426 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.259e-05/0.3177, allocations: 31.59 kB / 398.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.3178, allocations: 7.281 kB / 398.7 MB, free: 7.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.121e-05/0.3179, allocations: 115 kB / 398.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3179, allocations: 1.281 kB / 398.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.115e-05/0.3179, allocations: 1.625 kB / 398.8 MB, free: 7.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.318, allocations: 39.78 kB / 398.9 MB, free: 7.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.318, allocations: 3.938 kB / 398.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.318, allocations: 1.406 kB / 398.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.318, allocations: 0 / 398.9 MB, free: 7.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.619e-05/0.318, allocations: 7.453 kB / 398.9 MB, free: 7.207 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004019/0.3184, allocations: 226.6 kB / 399.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.813e-05/0.3185, allocations: 28.92 kB / 399.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.271e-05/0.3185, allocations: 9.328 kB / 399.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.3186, allocations: 2.203 kB / 399.2 MB, free: 6.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.3187, allocations: 59.33 kB / 399.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3187, allocations: 3.938 kB / 399.2 MB, free: 6.863 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001873/0.3189, allocations: 63.2 kB / 399.3 MB, free: 6.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.319, allocations: 52.59 kB / 399.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.131e-05/0.319, allocations: 104.7 kB / 399.4 MB, free: 6.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.746e-06/0.319, allocations: 26.8 kB / 399.5 MB, free: 6.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.3191, allocations: 90.08 kB / 399.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.3191, allocations: 5.172 kB / 399.6 MB, free: 6.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.651e-05/0.3191, allocations: 24.56 kB / 399.6 MB, free: 6.504 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.3192, allocations: 313.5 kB / 399.9 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.615e-05/0.3192, allocations: 8.812 kB / 399.9 MB, free: 6.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.885e-05/0.3193, allocations: 17.36 kB / 399.9 MB, free: 6.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.565e-05/0.3193, allocations: 36.27 kB / 399.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3193, allocations: 0 / 399.9 MB, free: 6.141 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.018e-05/0.3194, allocations: 58.62 kB / 400 MB, free: 6.098 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3194, allocations: 9.984 kB / 400 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3194, allocations: 1.062 kB / 400 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.3194, allocations: 1.312 kB / 400 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.787e-05/0.3195, allocations: 7.094 kB / 400 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3195, allocations: 1.969 kB / 400 MB, free: 6.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.037e-05/0.3195, allocations: 4.188 kB / 400 MB, free: 6.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3195, allocations: 2.375 kB / 400 MB, free: 6.09 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 6.738e-05/0.3196, allocations: 122.2 kB / 400.1 MB, free: 5.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.115e-05/0.3196, allocations: 4.734 kB / 400.2 MB, free: 5.961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.847e-05/0.3196, allocations: 6.516 kB / 400.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.3196, allocations: 0 / 400.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3197, allocations: 1.062 kB / 400.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3197, allocations: 0 / 400.2 MB, free: 5.949 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.3199, allocations: 262.8 kB / 400.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.3199, allocations: 3.938 kB / 400.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.389e-05/0.3199, allocations: 2.922 kB / 400.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.3199, allocations: 0 / 400.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.3199, allocations: 5.797 kB / 400.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.3199, allocations: 384 / 400.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3199, allocations: 1.094 kB / 400.4 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.801e-05/0.32, allocations: 147.1 kB / 400.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.32, allocations: 6.953 kB / 400.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.32, allocations: 5.281 kB / 400.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.549e-05/0.32, allocations: 0.9844 kB / 400.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.3201, allocations: 9.922 kB / 400.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.3201, allocations: 9.188 kB / 400.6 MB, free: 5.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.807e-05/0.3201, allocations: 85.31 kB / 400.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3201, allocations: 1.438 kB / 400.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003507/0.3205, allocations: 28.12 kB / 400.7 MB, free: 5.414 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.0008636/0.3213, allocations: 0.7648 MB / 401.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.3215, allocations: 24.02 kB / 401.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3215, allocations: 0 / 401.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.565e-05/0.3215, allocations: 6.219 kB / 401.5 MB, free: 4.684 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.3218, allocations: 6.375 kB / 401.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.3231, allocations: 1.238 MB / 402.8 MB, free: 3.461 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.3232, allocations: 0.6785 MB / 403.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.478e-05/0.3232, allocations: 6.062 kB / 403.4 MB, free: 2.766 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.3233, allocations: 13.62 kB / 403.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3233, allocations: 0 / 403.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02993/0.3532, allocations: 2.074 MB / 405.5 MB, free: 2.051 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.23/11.58, allocations: 5.469 kB / 405.5 MB, free: 2.047 MB / 318.1 MB " [Timeout remaining time 648] (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/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: 14.201515641063452]