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.003263/0.003263, allocations: 91.61 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.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.003443/0.003443, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 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.555/1.555, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 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: translateModel(Modelica.Blocks.Examples.Noise.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Blocks.Examples.Noise.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.766e-05/3.94e-05, allocations: 6.312 kB / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003435/0.003475, allocations: 1.597 MB / 273.9 MB, free: 248 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.004716, allocations: 0.5454 MB / 274.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.944e-05/0.004776, allocations: 0 / 274.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.4e-05/0.00481, allocations: 3.938 kB / 274.5 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.004914, allocations: 15.86 kB / 274.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.005214, allocations: 51.77 kB / 274.5 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.005318, allocations: 51.83 kB / 274.6 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001241/0.005442, allocations: 19.92 kB / 274.6 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.005511, allocations: 27.92 kB / 274.6 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.329e-05/0.005584, allocations: 23.91 kB / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.005607, allocations: 4 kB / 274.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002421/0.005849, allocations: 51.94 kB / 274.7 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.005872, allocations: 11.94 kB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.005905, allocations: 15.92 kB / 274.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.006142, allocations: 99.61 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.006149, allocations: 4 kB / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.00615, allocations: 0 / 274.8 MB, free: 15.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.006156, allocations: 0 / 274.8 MB, free: 15.32 MB / 266.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.0006182/0.006774, allocations: 403.9 kB / 275.2 MB, free: 14.89 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.006819, allocations: 12.03 kB / 275.2 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/0.007298, allocations: 52.8 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.007436, allocations: 120.5 kB / 275.4 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.007457, allocations: 8.312 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.007472, allocations: 4.375 kB / 275.4 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002362/0.007708, allocations: 90.2 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.007717, allocations: 192 / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.007731, allocations: 4.375 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.007738, allocations: 3.938 kB / 275.5 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.007931, allocations: 55.97 kB / 275.6 MB, free: 14.51 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006769/0.008608, allocations: 347.5 kB / 275.9 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.00882, allocations: 71.03 kB / 276 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.347e-05/0.008914, allocations: 27.8 kB / 276 MB, free: 14.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.008937, allocations: 11.94 kB / 276 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/0.00898, allocations: 41.33 kB / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.008981, allocations: 0 / 276.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004044/0.009385, allocations: 109.6 kB / 276.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.009437, allocations: 51.41 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000159/0.009596, allocations: 181.9 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.009619, allocations: 25.7 kB / 276.4 MB, free: 13.56 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.009727, allocations: 146.8 kB / 276.6 MB, free: 13.41 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.009757, allocations: 15.89 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.009816, allocations: 23.38 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00029/0.01011, allocations: 0.4961 MB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.744e-05/0.01019, allocations: 23.98 kB / 277.1 MB, free: 12.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.511e-05/0.01027, allocations: 19.98 kB / 277.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.01044, allocations: 51.61 kB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01044, allocations: 0 / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002174/0.01066, allocations: 85.62 kB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.01068, allocations: 4 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.01069, allocations: 7.984 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.0107, allocations: 0 / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.01084, allocations: 15.98 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.01085, allocations: 0 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.01092, allocations: 15.94 kB / 277.3 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.01093, allocations: 0 / 277.3 MB, free: 12.62 MB / 266.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.0001432/0.01107, allocations: 168.5 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.415e-05/0.01111, allocations: 11.94 kB / 277.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.01142, allocations: 97.78 kB / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.01142, allocations: 0 / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.01142, allocations: 0 / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-06/0.01143, allocations: 0 / 277.6 MB, free: 12.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.01164, allocations: 149 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.01165, allocations: 3.984 kB / 277.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.01176, allocations: 23.98 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01176, allocations: 0 / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01177, allocations: 3.938 kB / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01177, allocations: 0 / 277.8 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.01178, allocations: 7.938 kB / 277.8 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003397/0.01212, allocations: 243.8 kB / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.69e-05/0.01213, allocations: 7.953 kB / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.01215, allocations: 0 / 278 MB, free: 11.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.01225, allocations: 7.984 kB / 278 MB, free: 11.85 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.01228, allocations: 4 kB / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.01229, allocations: 0 / 278 MB, free: 11.84 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.01239, allocations: 143.6 kB / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01239, allocations: 0 / 278.2 MB, free: 11.7 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002169/0.0126, allocations: 8 kB / 278.2 MB, free: 11.7 MB / 266.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.0001312/0.01273, allocations: 95.58 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.01298, allocations: 67.58 kB / 278.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.01299, allocations: 0 / 278.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.01309, allocations: 39.67 kB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.01336, allocations: 7.938 kB / 278.4 MB, free: 11.47 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004974/0.01386, allocations: 193.7 kB / 278.6 MB, free: 11.25 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.027e-05/0.01395, allocations: 79.58 kB / 278.7 MB, free: 11.15 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.321e-05/0.014, allocations: 11.98 kB / 278.7 MB, free: 11.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.01405, allocations: 12.5 kB / 278.7 MB, free: 11.13 MB / 266.7 MB Notification: Performance of SimCode: time 8.71e-07/0.01405, allocations: 4 kB / 278.7 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Templates: time 0.003895/0.01794, allocations: 0.7337 MB / 279.4 MB, free: 10.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.makefile [Timeout 660] (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 & ./Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins/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: 4.497196300071664]