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.000892/0.000892, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004415/0.004415, allocations: 160.7 kB / 24.7 MB, free: 8.898 MB / 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 0.9346/0.9346, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.483e-06/1.483e-06, allocations: 0 / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.028e-05/3.176e-05, allocations: 6.281 kB / 325.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002079/0.002111, allocations: 1.584 MB / 327.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000732/0.002843, allocations: 0.5454 MB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.002892, allocations: 4 kB / 328 MB, free: 13.13 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.002927, allocations: 7.875 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.002999, allocations: 7.875 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.003234, allocations: 55.69 kB / 328 MB, free: 13.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.991e-05/0.003314, allocations: 47.86 kB / 328.1 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.003429, allocations: 23.97 kB / 328.1 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.644e-05/0.003476, allocations: 31.91 kB / 328.1 MB, free: 12.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.261e-05/0.003528, allocations: 19.92 kB / 328.2 MB, free: 12.94 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.003545, allocations: 4 kB / 328.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001861/0.003731, allocations: 47.95 kB / 328.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.488e-05/0.003746, allocations: 15.92 kB / 328.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.00377, allocations: 19.92 kB / 328.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001504/0.003921, allocations: 87.69 kB / 328.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.003923, allocations: 0 / 328.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.003925, allocations: 4 kB / 328.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.003929, allocations: 0 / 328.3 MB, free: 12.76 MB / 298.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.000397/0.004326, allocations: 313.2 kB / 328.6 MB, free: 12.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.00437, allocations: 8.031 kB / 328.6 MB, free: 12.42 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002593/0.004629, allocations: 44.84 kB / 328.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.802e-05/0.004717, allocations: 133.6 kB / 328.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.208e-05/0.004739, allocations: 384 / 328.8 MB, free: 12.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.004753, allocations: 8.375 kB / 328.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.004911, allocations: 85.95 kB / 328.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.004919, allocations: 8.188 kB / 328.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.004931, allocations: 4.375 kB / 328.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.774e-06/0.004938, allocations: 7.922 kB / 328.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.005067, allocations: 63.89 kB / 329 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003981/0.005466, allocations: 276.4 kB / 329.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.005595, allocations: 74.47 kB / 329.3 MB, free: 11.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.88e-05/0.005653, allocations: 32.95 kB / 329.4 MB, free: 11.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.005667, allocations: 4 kB / 329.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.005688, allocations: 38.5 kB / 329.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.00569, allocations: 3.938 kB / 329.4 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002622/0.005952, allocations: 113.6 kB / 329.5 MB, free: 11.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.005986, allocations: 63.34 kB / 329.6 MB, free: 11.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.99e-05/0.006056, allocations: 113.8 kB / 329.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.006067, allocations: 25.7 kB / 329.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.006112, allocations: 104 kB / 329.8 MB, free: 11.12 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.006135, allocations: 19.84 kB / 329.8 MB, free: 11.11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.006168, allocations: 17.7 kB / 329.9 MB, free: 11.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.111e-05/0.006249, allocations: 318.8 kB / 330.2 MB, free: 10.76 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.164e-05/0.006311, allocations: 27.97 kB / 330.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.801e-05/0.006359, allocations: 27.98 kB / 330.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001045/0.006463, allocations: 65.19 kB / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006465, allocations: 0 / 330.3 MB, free: 10.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001357/0.0066, allocations: 97.55 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.006614, allocations: 4 kB / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.006618, allocations: 0 / 330.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.006631, allocations: 4 kB / 330.4 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.006709, allocations: 23.97 kB / 330.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.006714, allocations: 0 / 330.4 MB, free: 10.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.006746, allocations: 8 kB / 330.4 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.006752, allocations: 3.984 kB / 330.4 MB, free: 10.5 MB / 298.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 6.399e-05/0.006816, allocations: 117.8 kB / 330.5 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.006832, allocations: 7.953 kB / 330.6 MB, free: 10.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001934/0.007025, allocations: 109.8 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.007027, allocations: 4 kB / 330.7 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.00703, allocations: 3.938 kB / 330.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.007033, allocations: 0 / 330.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000114/0.007147, allocations: 133.2 kB / 330.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007148, allocations: 0 / 330.8 MB, free: 10.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.007193, allocations: 15.98 kB / 330.8 MB, free: 10.07 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.007196, allocations: 4 kB / 330.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.007206, allocations: 4 kB / 330.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.007208, allocations: 0 / 330.8 MB, free: 10.06 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.007209, allocations: 7.938 kB / 330.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.007608, allocations: 195.4 kB / 331 MB, free: 9.844 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.213e-05/0.007621, allocations: 4 kB / 331 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.007633, allocations: 4.188 kB / 331 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.003e-05/0.007703, allocations: 11.98 kB / 331 MB, free: 9.824 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.861e-05/0.007721, allocations: 4 kB / 331 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-06/0.007728, allocations: 7.922 kB / 331.1 MB, free: 9.812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.507e-05/0.007763, allocations: 87.28 kB / 331.1 MB, free: 9.727 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007763, allocations: 7.938 kB / 331.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001441/0.007907, allocations: 23.89 kB / 331.2 MB, free: 9.695 MB / 298.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 7.716e-05/0.007984, allocations: 91.23 kB / 331.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.008146, allocations: 63.95 kB / 331.3 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.008148, allocations: 0 / 331.3 MB, free: 9.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.379e-05/0.008201, allocations: 35.91 kB / 331.4 MB, free: 9.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.008418, allocations: 15.94 kB / 331.4 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003341/0.008752, allocations: 207 kB / 331.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.561e-05/0.008807, allocations: 83.06 kB / 331.7 MB, free: 9.148 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.008842, allocations: 8.5 kB / 331.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of SimCode: time 3.8e-07/0.008843, allocations: 0 / 331.7 MB, free: 9.141 MB / 298.7 MB Notification: Performance of Templates: time 0.001714/0.01056, allocations: 0.9764 MB / 332.6 MB, free: 8.168 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 480] 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.253158342093229]