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.001745/0.001745, allocations: 108.8 kB / 21.19 MB, free: 0.7578 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.001997/0.001997, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.362/1.362, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.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.001736/0.001736, allocations: 52.02 kB / 371.7 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2674, allocations: 52.19 MB / 423.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003097/0.2705, allocations: 1.594 MB / 425.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2715, allocations: 0.5338 MB / 426 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.835e-05/0.2716, allocations: 0 / 426 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.669e-05/0.2716, allocations: 7.922 kB / 426 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.641e-05/0.2717, allocations: 11.88 kB / 426 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003963/0.2721, allocations: 43.84 kB / 426.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.2722, allocations: 51.84 kB / 426.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/0.2724, allocations: 23.91 kB / 426.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.041e-05/0.2725, allocations: 15.94 kB / 426.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.586e-05/0.2726, allocations: 31.78 kB / 426.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.2726, allocations: 12 kB / 426.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000247/0.2728, allocations: 39.95 kB / 426.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.2729, allocations: 11.94 kB / 426.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.622e-05/0.2729, allocations: 27.8 kB / 426.3 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001957/0.2731, allocations: 85.25 kB / 426.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2731, allocations: 0 / 426.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2731, allocations: 0 / 426.4 MB, free: 12.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.2731, allocations: 0 / 426.4 MB, free: 12.2 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.0005468/0.2737, allocations: 317.5 kB / 426.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.2737, allocations: 8.031 kB / 426.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004051/0.2741, allocations: 48.78 kB / 426.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.2743, allocations: 122.4 kB / 426.8 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.2743, allocations: 8.375 kB / 426.9 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.2743, allocations: 7.938 kB / 426.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.2746, allocations: 81.66 kB / 426.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.2746, allocations: 4 kB / 426.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.586e-05/0.2746, allocations: 3.984 kB / 427 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.2746, allocations: 4 kB / 427 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.2748, allocations: 67.89 kB / 427 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006254/0.2754, allocations: 311.8 kB / 427.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.2756, allocations: 70.48 kB / 427.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.2757, allocations: 32.95 kB / 427.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.2758, allocations: 4 kB / 427.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.2758, allocations: 38.56 kB / 427.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.242e-06/0.2758, allocations: 0 / 427.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004186/0.2762, allocations: 133.5 kB / 427.6 MB, free: 10.83 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.2763, allocations: 51.41 kB / 427.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2764, allocations: 118.1 kB / 427.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.2764, allocations: 29.7 kB / 427.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.2765, allocations: 100 kB / 427.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.2765, allocations: 19.84 kB / 427.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/0.2765, allocations: 21.72 kB / 427.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2767, allocations: 318.8 kB / 428.2 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.545e-05/0.2768, allocations: 23.98 kB / 428.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.825e-05/0.2768, allocations: 27.97 kB / 428.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.277, allocations: 56.83 kB / 428.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.277, allocations: 4 kB / 428.4 MB, free: 10.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002359/0.2773, allocations: 89.59 kB / 428.4 MB, free: 9.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2773, allocations: 15.36 kB / 428.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.2773, allocations: 0 / 428.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2773, allocations: 7.938 kB / 428.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.2774, allocations: 19.98 kB / 428.5 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.2774, allocations: 0 / 428.5 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.768e-05/0.2775, allocations: 19.88 kB / 428.5 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2775, allocations: 4 kB / 428.5 MB, free: 9.867 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 9.333e-05/0.2776, allocations: 117.8 kB / 428.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.2777, allocations: 4 kB / 428.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.278, allocations: 109.6 kB / 428.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.278, allocations: 4 kB / 428.7 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.278, allocations: 4 kB / 428.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.278, allocations: 0 / 428.7 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.2782, allocations: 165.2 kB / 428.9 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2782, allocations: 3.938 kB / 428.9 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.2783, allocations: 19.98 kB / 428.9 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.2783, allocations: 4 kB / 428.9 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.2783, allocations: 3.938 kB / 428.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2783, allocations: 0 / 428.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2783, allocations: 0 / 428.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.2786, allocations: 199.5 kB / 429.1 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.43e-05/0.2787, allocations: 4 kB / 429.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2787, allocations: 7.938 kB / 429.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.2788, allocations: 11.92 kB / 429.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.2788, allocations: 4 kB / 429.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2788, allocations: 0 / 429.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.927e-05/0.2789, allocations: 106.4 kB / 429.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2789, allocations: 0 / 429.3 MB, free: 9.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.2791, allocations: 11.95 kB / 429.3 MB, free: 9.027 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 0.0001143/0.2792, allocations: 95.23 kB / 429.4 MB, free: 8.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002655/0.2795, allocations: 59.95 kB / 429.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2795, allocations: 0 / 429.4 MB, free: 8.867 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.2796, allocations: 43.91 kB / 429.5 MB, free: 8.824 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.2799, allocations: 7.984 kB / 429.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.2805, allocations: 231 kB / 429.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.2808, allocations: 0.6885 MB / 430.4 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.2e-05/0.2808, allocations: 19.38 kB / 430.4 MB, free: 7.824 MB / 334.1 MB Notification: Performance of SimCode: time 4.7e-07/0.2808, allocations: 0 / 430.4 MB, free: 7.824 MB / 334.1 MB Notification: Performance of Templates: time 0.002992/0.2838, allocations: 0.9761 MB / 431.4 MB, free: 6.852 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 -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: 6.336284117074683]