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.001819/0.001819, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001636/0.001636, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.407/1.407, allocations: 207.7 MB / 235.3 MB, free: 9.805 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.001848/0.001848, allocations: 53.8 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2695, allocations: 49.16 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002305/0.2718, allocations: 1.34 MB / 397.7 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007286/0.2725, allocations: 344.4 kB / 398 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.474e-05/0.2725, allocations: 3.938 kB / 398 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.2726, allocations: 1.922 kB / 398 MB, free: 7.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.686e-05/0.2726, allocations: 3.938 kB / 398 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004821/0.2731, allocations: 93.84 kB / 398.1 MB, free: 7.715 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.029e-05/0.2732, allocations: 20.02 kB / 398.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.115e-05/0.2732, allocations: 2.219 kB / 398.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.574e-05/0.2732, allocations: 16.34 kB / 398.2 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.222e-05/0.2732, allocations: 8.203 kB / 398.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.2733, allocations: 1.094 kB / 398.2 MB, free: 7.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002467/0.2735, allocations: 116.7 kB / 398.3 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.389e-05/0.2735, allocations: 5.766 kB / 398.3 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.2735, allocations: 11.08 kB / 398.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.2737, allocations: 85.72 kB / 398.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2737, allocations: 1.906 kB / 398.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2737, allocations: 0 / 398.4 MB, free: 7.621 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.2737, allocations: 0 / 398.4 MB, free: 7.621 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.0003351/0.2741, allocations: 271.1 kB / 398.6 MB, free: 7.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2741, allocations: 17.08 kB / 398.7 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.2742, allocations: 36.97 kB / 398.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.2742, allocations: 6 kB / 398.7 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.096e-05/0.2742, allocations: 109.9 kB / 398.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2743, allocations: 2.688 kB / 398.8 MB, free: 7.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-06/0.2743, allocations: 5.5 kB / 398.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.293e-05/0.2744, allocations: 38.19 kB / 398.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.2744, allocations: 5.094 kB / 398.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2744, allocations: 1.312 kB / 398.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2744, allocations: 1.156 kB / 398.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.275e-05/0.2744, allocations: 6.344 kB / 398.9 MB, free: 7.113 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.2747, allocations: 221 kB / 399.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.315e-05/0.2748, allocations: 24.77 kB / 399.1 MB, free: 6.848 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.2748, allocations: 19.25 kB / 399.1 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.2748, allocations: 0 / 399.1 MB, free: 6.832 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001334/0.2749, allocations: 60.3 kB / 399.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2749, allocations: 0 / 399.2 MB, free: 6.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001804/0.2751, allocations: 56.91 kB / 399.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.2751, allocations: 56.66 kB / 399.3 MB, free: 6.668 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.953e-05/0.2752, allocations: 104.5 kB / 399.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.2752, allocations: 33.7 kB / 399.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.2752, allocations: 87.56 kB / 399.5 MB, free: 6.441 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.056e-05/0.2752, allocations: 5.359 kB / 399.5 MB, free: 6.438 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.2753, allocations: 20.14 kB / 399.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.414e-05/0.2753, allocations: 317.2 kB / 399.9 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.16e-05/0.2753, allocations: 9.031 kB / 399.9 MB, free: 6.098 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.489e-05/0.2754, allocations: 21.84 kB / 399.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.2754, allocations: 28.58 kB / 399.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2754, allocations: 1.031 kB / 399.9 MB, free: 6.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.491e-05/0.2755, allocations: 62 kB / 400 MB, free: 6.008 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.2755, allocations: 6.75 kB / 400 MB, free: 6.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2755, allocations: 3.938 kB / 400 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2755, allocations: 1.156 kB / 400 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.63e-05/0.2756, allocations: 7.062 kB / 400 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2756, allocations: 1.125 kB / 400 MB, free: 6.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.785e-05/0.2756, allocations: 5.047 kB / 400 MB, free: 6 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2756, allocations: 3.656 kB / 400 MB, free: 6 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 4.707e-05/0.2756, allocations: 120.1 kB / 400.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-06/0.2757, allocations: 3.719 kB / 400.1 MB, free: 5.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.2757, allocations: 13.33 kB / 400.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.2757, allocations: 0 / 400.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.2757, allocations: 0 / 400.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.2757, allocations: 2.062 kB / 400.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.2758, allocations: 256 kB / 400.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2758, allocations: 1.734 kB / 400.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.179e-05/0.2758, allocations: 1.156 kB / 400.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.2758, allocations: 2.062 kB / 400.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.2758, allocations: 0 / 400.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.2759, allocations: 1.125 kB / 400.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2759, allocations: 5.016 kB / 400.4 MB, free: 5.578 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.232e-05/0.2759, allocations: 148.8 kB / 400.5 MB, free: 5.438 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.596e-06/0.2759, allocations: 9.625 kB / 400.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.276, allocations: 1.781 kB / 400.6 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.675e-05/0.276, allocations: 4.797 kB / 400.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.679e-05/0.276, allocations: 2.766 kB / 400.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.276, allocations: 1.812 kB / 400.6 MB, free: 5.426 MB / 318.1 MB Notification: Performance of sorting global known variables: time 2.816e-05/0.2761, allocations: 89.62 kB / 400.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2761, allocations: 0 / 400.7 MB, free: 5.344 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.2763, allocations: 24.67 kB / 400.7 MB, free: 5.34 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.0005719/0.2769, allocations: 0.7811 MB / 401.5 MB, free: 4.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 9.505e-05/0.277, allocations: 20.97 kB / 401.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.277, allocations: 0 / 401.5 MB, free: 4.598 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.277, allocations: 17.59 kB / 401.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.2772, allocations: 7.297 kB / 401.5 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007909/0.278, allocations: 1.226 MB / 402.7 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.278, allocations: 63 kB / 402.8 MB, free: 3.309 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.647e-05/0.2781, allocations: 10.25 kB / 402.8 MB, free: 3.305 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.828e-05/0.2781, allocations: 14.33 kB / 402.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of SimCode: time 8.92e-07/0.2781, allocations: 0 / 402.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02912/0.3072, allocations: 2.46 MB / 405.3 MB, free: 2.168 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.99, allocations: 9.453 kB / 405.3 MB, free: 2.16 MB / 318.1 MB " [Timeout remaining time 649] (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: 13.332818739116192]