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.001326/0.001326, allocations: 80.67 kB / 20.68 MB, free: 1.035 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.001466/0.001466, allocations: 154.9 kB / 23.94 MB, free: 4.176 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.495/1.495, allocations: 173.3 MB / 200.4 MB, free: 12.88 MB / 190.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 3.707e-06/3.707e-06, allocations: 0 / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.333e-05/4.704e-05, allocations: 6.281 kB / 318.9 MB, free: 3.535 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.004069/0.004116, allocations: 1.546 MB / 320.5 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001199/0.005315, allocations: 0.4951 MB / 321 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.005377, allocations: 1.094 kB / 321 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/0.00542, allocations: 5.203 kB / 321 MB, free: 2.156 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.559e-05/0.005505, allocations: 13.97 kB / 321 MB, free: 2.145 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002903/0.005795, allocations: 54.11 kB / 321 MB, free: 2.113 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.005949, allocations: 54.59 kB / 321.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.006095, allocations: 20.67 kB / 321.1 MB, free: 2.074 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.361e-05/0.006158, allocations: 27.77 kB / 321.1 MB, free: 2.062 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.282e-05/0.006221, allocations: 22.97 kB / 321.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/0.006242, allocations: 4.188 kB / 321.2 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.006439, allocations: 47.47 kB / 321.2 MB, free: 2.035 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.502e-05/0.006464, allocations: 12.56 kB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.322e-05/0.006497, allocations: 18.19 kB / 321.2 MB, free: 2.016 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.006704, allocations: 83.34 kB / 321.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.006709, allocations: 0 / 321.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.006711, allocations: 0.6094 kB / 321.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.006716, allocations: 3.938 kB / 321.3 MB, free: 1.98 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.0005137/0.00723, allocations: 307.6 kB / 321.6 MB, free: 1.684 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.007276, allocations: 15.3 kB / 321.6 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.007687, allocations: 46.8 kB / 321.7 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.898e-05/0.007786, allocations: 116.5 kB / 321.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.007817, allocations: 3.062 kB / 321.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.925e-05/0.007836, allocations: 8.438 kB / 321.8 MB, free: 1.535 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.008154, allocations: 85.52 kB / 321.9 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.008168, allocations: 0 / 321.9 MB, free: 1.488 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.008188, allocations: 5.531 kB / 321.9 MB, free: 1.484 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.008198, allocations: 10.09 kB / 321.9 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002636/0.008461, allocations: 66.36 kB / 322 MB, free: 1.461 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007021/0.009163, allocations: 272.6 kB / 322.2 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002684/0.009432, allocations: 73.34 kB / 322.3 MB, free: 1.191 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.009556, allocations: 34.06 kB / 322.4 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.009574, allocations: 0.6094 kB / 322.4 MB, free: 1.176 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.009606, allocations: 37.22 kB / 322.4 MB, free: 1.133 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.623e-06/0.009607, allocations: 0 / 322.4 MB, free: 1.133 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005429/0.01015, allocations: 117.1 kB / 322.5 MB, free: 1.082 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.0102, allocations: 61.47 kB / 322.6 MB, free: 1.012 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.01031, allocations: 118.6 kB / 322.7 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.01033, allocations: 30.95 kB / 322.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.01039, allocations: 99.42 kB / 322.8 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.01042, allocations: 18.64 kB / 322.8 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/0.01047, allocations: 21.11 kB / 322.8 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.928e-05/0.01056, allocations: 312.8 kB / 323.2 MB, free: 436 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001042/0.01066, allocations: 26.47 kB / 323.2 MB, free: 432 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.01078, allocations: 27.69 kB / 323.2 MB, free: 424 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.01098, allocations: 62.55 kB / 323.3 MB, free: 400 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.01098, allocations: 0 / 323.3 MB, free: 400 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002497/0.01123, allocations: 92.94 kB / 323.4 MB, free: 352 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.01125, allocations: 4.719 kB / 323.4 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01125, allocations: 0 / 323.4 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.01127, allocations: 1.922 kB / 323.4 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.01142, allocations: 17.64 kB / 323.4 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.01143, allocations: 0 / 323.4 MB, free: 352 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.62e-05/0.01152, allocations: 25.88 kB / 323.4 MB, free: 336 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.01152, allocations: 3.297 kB / 323.4 MB, free: 336 kB / 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 6.679e-05/0.01159, allocations: 112.9 kB / 323.5 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.803e-05/0.01162, allocations: 3.375 kB / 323.5 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.01195, allocations: 111.3 kB / 323.6 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.01196, allocations: 1.438 kB / 323.6 MB, free: 152 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.01196, allocations: 11.88 kB / 323.6 MB, free: 140 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.01197, allocations: 10.02 kB / 323.7 MB, free: 132 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.01215, allocations: 127.7 kB / 323.8 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.01215, allocations: 0 / 323.8 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.01227, allocations: 21.31 kB / 323.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01227, allocations: 2.531 kB / 323.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01228, allocations: 0 / 323.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01228, allocations: 0.9375 kB / 323.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01228, allocations: 1.812 kB / 323.8 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.01262, allocations: 195.5 kB / 324 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.353e-05/0.01263, allocations: 9.812 kB / 324 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.01265, allocations: 2.141 kB / 324 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.01276, allocations: 8.906 kB / 324 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.01281, allocations: 3.859 kB / 324 MB, free: 15.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.01282, allocations: 7.141 kB / 324 MB, free: 15.83 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.164e-05/0.01289, allocations: 91.77 kB / 324.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.01289, allocations: 0 / 324.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002352/0.01312, allocations: 17.06 kB / 324.1 MB, free: 15.74 MB / 302.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.0001274/0.01325, allocations: 94.62 kB / 324.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.01355, allocations: 62.77 kB / 324.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01355, allocations: 0 / 324.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.01367, allocations: 34.94 kB / 324.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004015/0.01407, allocations: 14.94 kB / 324.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.01468, allocations: 196.3 kB / 324.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.01479, allocations: 78.11 kB / 324.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.191e-05/0.01484, allocations: 9.266 kB / 324.6 MB, free: 15.4 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.01489, allocations: 12.17 kB / 324.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.01489, allocations: 0 / 324.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of Templates: time 0.004508/0.0194, allocations: 0.8014 MB / 325.4 MB, free: 15.27 MB / 302.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/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.347517862915993]