Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.001361/0.001361, allocations: 88.39 kB / 21.44 MB, free: 276 kB / 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.001556/0.001556, allocations: 164.2 kB / 24.71 MB, free: 3.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") translateModel(Modelica.Blocks.Examples.NoiseExamples.Densities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|uniformDensity_y|normalDensity_y|weibullDensity_y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.645e-06/2.645e-06, allocations: 0 / 299 MB, free: 8.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.682e-05/3.946e-05, allocations: 2.281 kB / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.003954/0.003993, allocations: 1.548 MB / 300.5 MB, free: 7.148 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.00548, allocations: 0.5314 MB / 301 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.7e-05/0.005567, allocations: 8 kB / 301 MB, free: 6.602 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.348e-05/0.00562, allocations: 3.938 kB / 301 MB, free: 6.598 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000123/0.005743, allocations: 11.88 kB / 301.1 MB, free: 6.586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004076/0.006151, allocations: 51.7 kB / 301.1 MB, free: 6.535 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.006286, allocations: 51.83 kB / 301.2 MB, free: 6.484 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.006458, allocations: 12 kB / 301.2 MB, free: 6.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.714e-05/0.006545, allocations: 31.91 kB / 301.2 MB, free: 6.441 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.399e-05/0.006639, allocations: 19.91 kB / 301.2 MB, free: 6.422 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.006664, allocations: 8 kB / 301.2 MB, free: 6.414 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002724/0.006936, allocations: 47.84 kB / 301.3 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.099e-05/0.006977, allocations: 19.91 kB / 301.3 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.863e-05/0.007016, allocations: 11.94 kB / 301.3 MB, free: 6.336 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.007308, allocations: 83.75 kB / 301.4 MB, free: 6.254 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.007314, allocations: 0 / 301.4 MB, free: 6.254 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.634e-06/0.007316, allocations: 0 / 301.4 MB, free: 6.254 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.007328, allocations: 0 / 301.4 MB, free: 6.254 MB / 286.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.0008044/0.008132, allocations: 305.9 kB / 301.7 MB, free: 5.926 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.941e-05/0.008202, allocations: 19.92 kB / 301.7 MB, free: 5.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005136/0.008715, allocations: 52.8 kB / 301.8 MB, free: 5.855 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.008948, allocations: 113.7 kB / 301.9 MB, free: 5.719 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.993e-05/0.008988, allocations: 4.375 kB / 301.9 MB, free: 5.715 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.009011, allocations: 8.375 kB / 301.9 MB, free: 5.707 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003344/0.009345, allocations: 86.2 kB / 302 MB, free: 5.617 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.009365, allocations: 4.172 kB / 302 MB, free: 5.613 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.073e-05/0.009385, allocations: 4.375 kB / 302 MB, free: 5.609 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.707e-05/0.009402, allocations: 11.94 kB / 302 MB, free: 5.598 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.009696, allocations: 67.88 kB / 302.1 MB, free: 5.531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000811/0.01051, allocations: 268.4 kB / 302.3 MB, free: 5.238 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.01076, allocations: 74.47 kB / 302.4 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.01088, allocations: 32.95 kB / 302.4 MB, free: 5.121 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.0109, allocations: 4 kB / 302.4 MB, free: 5.117 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.01094, allocations: 34.56 kB / 302.5 MB, free: 5.074 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.01094, allocations: 4 kB / 302.5 MB, free: 5.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005001/0.01144, allocations: 121.6 kB / 302.6 MB, free: 4.945 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.0115, allocations: 59.28 kB / 302.6 MB, free: 4.875 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.01166, allocations: 117.8 kB / 302.8 MB, free: 4.75 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.01169, allocations: 25.7 kB / 302.8 MB, free: 4.719 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.01177, allocations: 104 kB / 302.9 MB, free: 4.613 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.749e-05/0.0118, allocations: 15.91 kB / 302.9 MB, free: 4.598 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.01187, allocations: 13.72 kB / 302.9 MB, free: 4.578 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.01205, allocations: 322.8 kB / 303.2 MB, free: 4.254 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.01216, allocations: 23.98 kB / 303.2 MB, free: 4.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.01227, allocations: 31.97 kB / 303.3 MB, free: 4.199 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.01248, allocations: 60.81 kB / 303.3 MB, free: 4.137 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01248, allocations: 4 kB / 303.3 MB, free: 4.133 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002703/0.01275, allocations: 93.55 kB / 303.4 MB, free: 4.035 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.01277, allocations: 4 kB / 303.4 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.01277, allocations: 0 / 303.4 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.01279, allocations: 4 kB / 303.4 MB, free: 4.027 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/0.01295, allocations: 15.98 kB / 303.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.01296, allocations: 0 / 303.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.077e-05/0.01305, allocations: 23.86 kB / 303.5 MB, free: 3.988 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.01306, allocations: 0 / 303.5 MB, free: 3.988 MB / 286.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 0.0001163/0.01317, allocations: 117.8 kB / 303.6 MB, free: 3.863 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.01321, allocations: 7.953 kB / 303.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003814/0.01359, allocations: 105.8 kB / 303.7 MB, free: 3.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.01359, allocations: 4 kB / 303.7 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.0136, allocations: 0 / 303.7 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.0136, allocations: 7.938 kB / 303.7 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.01381, allocations: 133.2 kB / 303.8 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01381, allocations: 0.5 kB / 303.8 MB, free: 3.578 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.01392, allocations: 15.98 kB / 303.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.01393, allocations: 0 / 303.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.01395, allocations: 8 kB / 303.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.01395, allocations: 4 kB / 303.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.01396, allocations: 3.984 kB / 303.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.01434, allocations: 191.4 kB / 304.1 MB, free: 3.344 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.15e-05/0.01436, allocations: 15.89 kB / 304.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.01439, allocations: 0 / 304.1 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.0145, allocations: 11.98 kB / 304.1 MB, free: 3.316 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.01454, allocations: 3.984 kB / 304.1 MB, free: 3.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.01455, allocations: 4 kB / 304.1 MB, free: 3.309 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.262e-05/0.01462, allocations: 95.2 kB / 304.2 MB, free: 3.215 MB / 286.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01462, allocations: 0 / 304.2 MB, free: 3.215 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.00025/0.01487, allocations: 12 kB / 304.2 MB, free: 3.203 MB / 286.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.0001648/0.01504, allocations: 95.25 kB / 304.3 MB, free: 3.102 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003154/0.01535, allocations: 59.95 kB / 304.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01536, allocations: 0 / 304.4 MB, free: 3.043 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001251/0.01548, allocations: 35.91 kB / 304.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.01585, allocations: 14.44 kB / 304.4 MB, free: 2.996 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/0.01647, allocations: 200.6 kB / 304.6 MB, free: 2.773 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.01658, allocations: 79.33 kB / 304.7 MB, free: 2.676 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.158e-05/0.01663, allocations: 8 kB / 304.7 MB, free: 2.668 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.01668, allocations: 16.48 kB / 304.7 MB, free: 2.652 MB / 286.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01668, allocations: 0 / 304.7 MB, free: 2.652 MB / 286.1 MB Notification: Performance of Templates: time 0.004919/0.0216, allocations: 0.796 MB / 305.5 MB, free: 1.859 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & ./Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.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.202030796557665]