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.002411/0.002411, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.001907/0.001907, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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.55/1.55, allocations: 173.4 MB / 200.8 MB, free: 9.316 MB / 186.7 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 1.954e-06/1.954e-06, allocations: 0 / 267.3 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.201e-05, allocations: 2.312 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.004349/0.004381, allocations: 1.572 MB / 268.9 MB, free: 5.152 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.006104, allocations: 0.5102 MB / 269.4 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.643e-05/0.00617, allocations: 7.938 kB / 269.4 MB, free: 4.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.006209, allocations: 7.938 kB / 269.4 MB, free: 4.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.006328, allocations: 11.86 kB / 269.4 MB, free: 4.613 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003525/0.00668, allocations: 43.83 kB / 269.5 MB, free: 4.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.006821, allocations: 55.78 kB / 269.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.006956, allocations: 19.92 kB / 269.5 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.007046, allocations: 31.91 kB / 269.6 MB, free: 4.465 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.021e-05/0.007117, allocations: 15.92 kB / 269.6 MB, free: 4.449 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.007144, allocations: 4 kB / 269.6 MB, free: 4.445 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.007386, allocations: 47.95 kB / 269.6 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.007423, allocations: 15.92 kB / 269.7 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.00746, allocations: 8 kB / 269.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.007735, allocations: 91.67 kB / 269.8 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.007739, allocations: 0 / 269.8 MB, free: 4.285 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.007741, allocations: 0 / 269.8 MB, free: 4.285 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.007746, allocations: 3.938 kB / 269.8 MB, free: 4.281 MB / 250.7 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.0007029/0.008449, allocations: 411.9 kB / 270.2 MB, free: 3.844 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.008499, allocations: 12.92 kB / 270.2 MB, free: 3.832 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005532/0.009052, allocations: 48.86 kB / 270.2 MB, free: 3.785 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.00922, allocations: 116.5 kB / 270.3 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.009244, allocations: 4.359 kB / 270.3 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/0.009264, allocations: 8.375 kB / 270.4 MB, free: 3.633 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.009567, allocations: 81.78 kB / 270.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.009578, allocations: 0 / 270.4 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.009597, allocations: 4 kB / 270.4 MB, free: 3.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.009606, allocations: 4 kB / 270.4 MB, free: 3.539 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002939/0.0099, allocations: 59.91 kB / 270.5 MB, free: 3.48 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008777/0.01078, allocations: 339.5 kB / 270.8 MB, free: 3.113 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.01107, allocations: 70.97 kB / 270.9 MB, free: 3.031 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001391/0.01121, allocations: 31.8 kB / 270.9 MB, free: 2.996 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.01123, allocations: 4 kB / 270.9 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.01128, allocations: 33.39 kB / 271 MB, free: 2.949 MB / 250.7 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.01128, allocations: 0 / 271 MB, free: 2.949 MB / 250.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005618/0.01184, allocations: 101.7 kB / 271.1 MB, free: 2.844 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.355e-05/0.01191, allocations: 59.34 kB / 271.1 MB, free: 2.773 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.01212, allocations: 189.8 kB / 271.3 MB, free: 2.57 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.01215, allocations: 25.7 kB / 271.3 MB, free: 2.539 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.01229, allocations: 150.7 kB / 271.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.01232, allocations: 11.91 kB / 271.5 MB, free: 2.375 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.057e-05/0.01241, allocations: 27.36 kB / 271.5 MB, free: 2.34 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003526/0.01276, allocations: 0.4884 MB / 272 MB, free: 1.84 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001271/0.01289, allocations: 27.92 kB / 272 MB, free: 1.812 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.01301, allocations: 27.98 kB / 272.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000238/0.01325, allocations: 51.66 kB / 272.1 MB, free: 1.73 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01325, allocations: 0 / 272.1 MB, free: 1.73 MB / 250.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003371/0.01359, allocations: 86 kB / 272.2 MB, free: 1.641 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/0.01361, allocations: 8 kB / 272.2 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.01362, allocations: 0 / 272.2 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.01364, allocations: 0 / 272.2 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.01382, allocations: 15.98 kB / 272.2 MB, free: 1.617 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.01382, allocations: 8 kB / 272.2 MB, free: 1.609 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.01393, allocations: 7.938 kB / 272.2 MB, free: 1.602 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.01395, allocations: 7.984 kB / 272.2 MB, free: 1.594 MB / 250.7 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 0.0001605/0.01411, allocations: 156.6 kB / 272.4 MB, free: 1.43 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.01416, allocations: 7.953 kB / 272.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004242/0.01458, allocations: 97.78 kB / 272.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.01459, allocations: 0 / 272.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.01459, allocations: 7.922 kB / 272.5 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.802e-06/0.0146, allocations: 7.938 kB / 272.5 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002985/0.0149, allocations: 148.5 kB / 272.7 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.0149, allocations: 0 / 272.7 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.01506, allocations: 19.97 kB / 272.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.01506, allocations: 0 / 272.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.01507, allocations: 0 / 272.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.01507, allocations: 0 / 272.7 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.147e-06/0.01508, allocations: 7.984 kB / 272.7 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.01557, allocations: 235.8 kB / 272.9 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.527e-05/0.01559, allocations: 4.125 kB / 272.9 MB, free: 0.8398 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.01561, allocations: 8 kB / 272.9 MB, free: 0.832 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.01578, allocations: 7.984 kB / 272.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/0.01583, allocations: 7.938 kB / 272.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.357e-06/0.01584, allocations: 0 / 272.9 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001308/0.01597, allocations: 139.2 kB / 273.1 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01597, allocations: 0 / 273.1 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000433/0.01641, allocations: 23.83 kB / 273.1 MB, free: 0.6562 MB / 250.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: 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 0.0001588/0.01656, allocations: 95.23 kB / 273.2 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.01692, allocations: 67.78 kB / 273.3 MB, free: 496 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.01692, allocations: 0 / 273.3 MB, free: 496 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.0171, allocations: 43.73 kB / 273.3 MB, free: 448 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.01751, allocations: 8 kB / 273.3 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/0.0182, allocations: 193.8 kB / 273.5 MB, free: 216 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001215/0.01833, allocations: 83.27 kB / 273.6 MB, free: 112 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.831e-05/0.01839, allocations: 4 kB / 273.6 MB, free: 108 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.01845, allocations: 8.5 kB / 273.6 MB, free: 100 kB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01845, allocations: 0 / 273.6 MB, free: 100 kB / 250.7 MB Notification: Performance of Templates: time 0.004194/0.02265, allocations: 0.8157 MB / 274.4 MB, free: 15.3 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/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.371348462998867]