Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 72.06 kB / 21.24 MB, free: 0.5391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 151.5 kB / 24.48 MB, free: 3.715 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.469/1.469, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 46.73 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09293/0.0945, allocations: 52.16 MB / 371.6 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002756/0.09726, allocations: 1.563 MB / 373.1 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009415/0.0982, allocations: 0.4967 MB / 373.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.826e-05/0.09826, allocations: 4 kB / 373.6 MB, free: 5.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.09829, allocations: 3.938 kB / 373.6 MB, free: 5.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.796e-05/0.09836, allocations: 7.875 kB / 373.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.09861, allocations: 51.81 kB / 373.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.903e-05/0.0987, allocations: 47.84 kB / 373.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.09881, allocations: 23.94 kB / 373.8 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.978e-05/0.09885, allocations: 23.86 kB / 373.8 MB, free: 5.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.533e-05/0.0989, allocations: 23.86 kB / 373.8 MB, free: 5.086 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.09892, allocations: 4 kB / 373.8 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001715/0.09909, allocations: 51.89 kB / 373.9 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.279e-05/0.09911, allocations: 7.984 kB / 373.9 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.09914, allocations: 23.81 kB / 373.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.09931, allocations: 83.64 kB / 374 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.09931, allocations: 0 / 374 MB, free: 4.918 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.09931, allocations: 0 / 374 MB, free: 4.918 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.09932, allocations: 0 / 374 MB, free: 4.918 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.0004437/0.09976, allocations: 310 kB / 374.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.0998, allocations: 8.922 kB / 374.3 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003712/0.1002, allocations: 44.84 kB / 374.3 MB, free: 4.535 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1003, allocations: 122.4 kB / 374.5 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.686e-05/0.1003, allocations: 8.375 kB / 374.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.1003, allocations: 11.88 kB / 374.5 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002213/0.1005, allocations: 89.52 kB / 374.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.1006, allocations: 4 kB / 374.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.1006, allocations: 0 / 374.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1006, allocations: 0 / 374.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000219/0.1008, allocations: 67.94 kB / 374.6 MB, free: 4.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.1013, allocations: 280.3 kB / 374.9 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1015, allocations: 70.48 kB / 375 MB, free: 3.828 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1017, allocations: 36.95 kB / 375 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1017, allocations: 4 kB / 375 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.1017, allocations: 30.56 kB / 375 MB, free: 3.746 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 2.906e-06/0.1017, allocations: 3.984 kB / 375 MB, free: 3.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004131/0.1021, allocations: 121.6 kB / 375.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.1022, allocations: 59.34 kB / 375.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.1023, allocations: 121.8 kB / 375.3 MB, free: 3.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.1023, allocations: 25.7 kB / 375.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.1023, allocations: 100 kB / 375.5 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.636e-05/0.1024, allocations: 15.86 kB / 375.5 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1024, allocations: 17.7 kB / 375.5 MB, free: 3.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.1025, allocations: 322.8 kB / 375.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001001/0.1026, allocations: 27.97 kB / 375.8 MB, free: 2.895 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.947e-05/0.1027, allocations: 23.98 kB / 375.9 MB, free: 2.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.1029, allocations: 60.81 kB / 375.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1029, allocations: 0 / 375.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000236/0.1032, allocations: 89.66 kB / 376 MB, free: 2.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1032, allocations: 10.81 kB / 376 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1032, allocations: 0 / 376 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1032, allocations: 0 / 376 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.1033, allocations: 31.84 kB / 376.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.1033, allocations: 0 / 376.1 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.1034, allocations: 11.95 kB / 376.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1034, allocations: 3.984 kB / 376.1 MB, free: 2.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 8.387e-05/0.1035, allocations: 117.8 kB / 376.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.1035, allocations: 4 kB / 376.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/0.1038, allocations: 110.2 kB / 376.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1038, allocations: 7.938 kB / 376.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1039, allocations: 0 / 376.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.1039, allocations: 0 / 376.3 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001736/0.104, allocations: 137.2 kB / 376.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.104, allocations: 0 / 376.4 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1041, allocations: 23.91 kB / 376.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1041, allocations: 4 kB / 376.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.1042, allocations: 4 kB / 376.5 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1042, allocations: 3.984 kB / 376.5 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.1042, allocations: 3.938 kB / 376.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000293/0.1045, allocations: 191.5 kB / 376.7 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.1045, allocations: 7.938 kB / 376.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.1045, allocations: 4 kB / 376.7 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1046, allocations: 4 kB / 376.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.1046, allocations: 11.92 kB / 376.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.62e-06/0.1046, allocations: 0 / 376.7 MB, free: 1.973 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.55e-05/0.1047, allocations: 91.27 kB / 376.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1047, allocations: 0 / 376.8 MB, free: 1.883 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1049, allocations: 20 kB / 376.8 MB, free: 1.863 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 9.292e-05/0.105, allocations: 91.19 kB / 376.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002847/0.1053, allocations: 67.94 kB / 377 MB, free: 1.699 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1053, allocations: 3.938 kB / 377 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1054, allocations: 35.92 kB / 377 MB, free: 1.66 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.1057, allocations: 4 kB / 377 MB, free: 1.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.1061, allocations: 197.2 kB / 377.2 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.495e-05/0.1062, allocations: 79.31 kB / 377.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.176e-05/0.1063, allocations: 4 kB / 377.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.912e-05/0.1063, allocations: 12.5 kB / 377.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1063, allocations: 0 / 377.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of Templates: time 0.003322/0.1096, allocations: 0.8079 MB / 378.1 MB, free: 0.5312 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 4.235460233991034]