Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.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.001205/0.001205, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001351/0.001351, allocations: 214.9 kB / 24.52 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 43.94 kB / 378.5 MB, free: 2.965 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2697, allocations: 53.37 MB / 431.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002779/0.2725, allocations: 1.576 MB / 433.4 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009927/0.2735, allocations: 0.5337 MB / 434 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.126e-05/0.2735, allocations: 0 / 434 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.29e-05/0.2736, allocations: 7.938 kB / 434 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.348e-05/0.2736, allocations: 15.86 kB / 434 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002801/0.2739, allocations: 55.83 kB / 434.1 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.274, allocations: 55.78 kB / 434.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.2741, allocations: 15.78 kB / 434.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.428e-05/0.2742, allocations: 23.92 kB / 434.1 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.2743, allocations: 31.84 kB / 434.2 MB, free: 4.312 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.2743, allocations: 4 kB / 434.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.2745, allocations: 51.91 kB / 434.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.767e-05/0.2745, allocations: 19.92 kB / 434.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.461e-05/0.2746, allocations: 19.86 kB / 434.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001681/0.2747, allocations: 85.89 kB / 434.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.2747, allocations: 0 / 434.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2747, allocations: 0 / 434.4 MB, free: 4.137 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.749e-06/0.2748, allocations: 0 / 434.4 MB, free: 4.137 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004882/0.2752, allocations: 302 kB / 434.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2753, allocations: 8.031 kB / 434.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.807e-05/0.2753, allocations: 12.16 kB / 434.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.782e-05/0.2754, allocations: 50.69 kB / 434.7 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004325/0.2758, allocations: 44.84 kB / 434.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001198/0.2759, allocations: 122.4 kB / 434.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/0.276, allocations: 8.375 kB / 434.9 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.276, allocations: 12.38 kB / 434.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.2763, allocations: 104.1 kB / 435 MB, free: 3.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2763, allocations: 4 kB / 435 MB, free: 3.418 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2763, allocations: 7.984 kB / 435 MB, free: 3.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.2763, allocations: 4 kB / 435 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.2765, allocations: 79.88 kB / 435.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006089/0.2771, allocations: 335.6 kB / 435.4 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.2774, allocations: 102.4 kB / 435.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.2775, allocations: 48.83 kB / 435.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.404e-05/0.2775, allocations: 4 kB / 435.6 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2775, allocations: 34.5 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.2775, allocations: 0 / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001787/0.2793, allocations: 404.4 kB / 436 MB, free: 2.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.2794, allocations: 55.41 kB / 436.1 MB, free: 2.285 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.2795, allocations: 122.1 kB / 436.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.756e-05/0.2795, allocations: 29.69 kB / 436.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.03e-05/0.2796, allocations: 96.42 kB / 436.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.75e-05/0.2796, allocations: 63.7 kB / 436.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.2797, allocations: 29.7 kB / 436.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2798, allocations: 326.8 kB / 436.7 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.28, allocations: 55.95 kB / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.2802, allocations: 77.67 kB / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003354/0.2805, allocations: 137.6 kB / 437 MB, free: 1.312 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2805, allocations: 0 / 437 MB, free: 1.312 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004162/0.2809, allocations: 176.6 kB / 437.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.2809, allocations: 11.94 kB / 437.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.2809, allocations: 4 kB / 437.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.2809, allocations: 3.938 kB / 437.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.2813, allocations: 44 kB / 437.2 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.2813, allocations: 4 kB / 437.2 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.2815, allocations: 23.97 kB / 437.2 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.2815, allocations: 4 kB / 437.2 MB, free: 1.043 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001008/0.2816, allocations: 121.8 kB / 437.4 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.2816, allocations: 11.89 kB / 437.4 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004923/0.2821, allocations: 206.2 kB / 437.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2821, allocations: 0 / 437.6 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2821, allocations: 4 kB / 437.6 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.2821, allocations: 3.984 kB / 437.6 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008987/0.283, allocations: 0.5067 MB / 438.1 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.283, allocations: 0 / 438.1 MB, free: 124 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002586/0.2833, allocations: 47.89 kB / 438.1 MB, free: 76 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2833, allocations: 4 kB / 438.1 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.667e-05/0.2833, allocations: 3.984 kB / 438.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2833, allocations: 0 / 438.1 MB, free: 68 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2833, allocations: 4 kB / 438.1 MB, free: 64 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004794/0.2838, allocations: 299.2 kB / 438.4 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.614e-05/0.2838, allocations: 15.89 kB / 438.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.2838, allocations: 8 kB / 438.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.284, allocations: 19.97 kB / 438.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.2841, allocations: 19.86 kB / 438.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.2841, allocations: 4 kB / 438.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.02e-05/0.2842, allocations: 95.27 kB / 438.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2842, allocations: 0 / 438.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000252/0.2844, allocations: 24 kB / 438.6 MB, free: 15.57 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0009724/0.2854, allocations: 0.9198 MB / 439.5 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004008/0.2858, allocations: 139.8 kB / 439.7 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2858, allocations: 8.062 kB / 439.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.286, allocations: 79.88 kB / 439.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.2863, allocations: 18.91 kB / 439.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002291/0.2886, allocations: 1.815 MB / 441.6 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.01e-05/0.2887, allocations: 92.77 kB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.335e-05/0.2888, allocations: 20.48 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2889, allocations: 35.42 kB / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2889, allocations: 0 / 441.7 MB, free: 12.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02298/0.3119, allocations: 3.557 MB / 445.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.94, allocations: 3.75 kB / 445.3 MB, free: 8.902 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.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.215897826012224]