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.001901/0.001901, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 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.001849/0.001849, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.611/1.611, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 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 0.001621/0.001621, allocations: 43.94 kB / 373.5 MB, free: 9.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1368, allocations: 53.33 MB / 426.8 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003348/0.1401, allocations: 1.601 MB / 428.4 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1413, allocations: 0.5765 MB / 429 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.438e-05/0.1414, allocations: 0 / 429 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.2e-05/0.1414, allocations: 3.938 kB / 429 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.353e-05/0.1415, allocations: 11.88 kB / 429 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002846/0.1418, allocations: 59.81 kB / 429.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1419, allocations: 51.78 kB / 429.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.142, allocations: 12 kB / 429.1 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.1421, allocations: 23.92 kB / 429.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.893e-05/0.1421, allocations: 23.86 kB / 429.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.1421, allocations: 4 kB / 429.2 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.1424, allocations: 59.88 kB / 429.2 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.091e-05/0.1424, allocations: 11.94 kB / 429.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4e-05/0.1424, allocations: 27.8 kB / 429.3 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002073/0.1427, allocations: 91.62 kB / 429.4 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1427, allocations: 3.938 kB / 429.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1427, allocations: 0 / 429.4 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.241e-05/0.1427, allocations: 3.938 kB / 429.4 MB, free: 1.727 MB / 350.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.0005822/0.1433, allocations: 375.2 kB / 429.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.1433, allocations: 12.03 kB / 429.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004543/0.1438, allocations: 52.83 kB / 429.8 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001789/0.1439, allocations: 176.2 kB / 430 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.125e-05/0.144, allocations: 8.375 kB / 430 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.02e-05/0.144, allocations: 4.375 kB / 430 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1442, allocations: 93.95 kB / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1443, allocations: 0 / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.1443, allocations: 0 / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1443, allocations: 0 / 430.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002367/0.1445, allocations: 71.94 kB / 430.1 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006808/0.1452, allocations: 352.5 kB / 430.5 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1454, allocations: 70.52 kB / 430.6 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.1455, allocations: 40.95 kB / 430.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1456, allocations: 0 / 430.6 MB, free: 352 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1456, allocations: 34.5 kB / 430.6 MB, free: 308 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.1456, allocations: 0 / 430.6 MB, free: 308 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004605/0.1461, allocations: 121.6 kB / 430.7 MB, free: 180 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1461, allocations: 59.41 kB / 430.8 MB, free: 108 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.1463, allocations: 125.8 kB / 430.9 MB, free: 15.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1463, allocations: 25.7 kB / 431 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.1464, allocations: 104.1 kB / 431.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.1464, allocations: 11.84 kB / 431.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.1464, allocations: 21.7 kB / 431.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1466, allocations: 318.8 kB / 431.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.1467, allocations: 27.97 kB / 431.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.928e-05/0.1468, allocations: 27.94 kB / 431.5 MB, free: 15.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001983/0.147, allocations: 60.81 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.147, allocations: 3.938 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002635/0.1473, allocations: 93.98 kB / 431.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1473, allocations: 11.98 kB / 431.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.1473, allocations: 64 / 431.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.1473, allocations: 4 kB / 431.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.1475, allocations: 15.98 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1475, allocations: 7.938 kB / 431.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/0.1476, allocations: 7.984 kB / 431.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1476, allocations: 8 kB / 431.7 MB, free: 15.2 MB / 366.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.0001059/0.1477, allocations: 113.8 kB / 431.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.1477, allocations: 7.953 kB / 431.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003452/0.148, allocations: 113.5 kB / 431.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1481, allocations: 0 / 431.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.1481, allocations: 7.938 kB / 431.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1481, allocations: 0 / 431.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002431/0.1483, allocations: 189.6 kB / 432.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1483, allocations: 0 / 432.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.1484, allocations: 23.98 kB / 432.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.1484, allocations: 0 / 432.1 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1484, allocations: 3.938 kB / 432.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1484, allocations: 0 / 432.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1484, allocations: 3.938 kB / 432.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003445/0.1488, allocations: 199.5 kB / 432.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.538e-05/0.1488, allocations: 89 kB / 432.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.1489, allocations: 0 / 432.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.149, allocations: 15.98 kB / 432.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.149, allocations: 11.92 kB / 432.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.149, allocations: 0 / 432.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.871e-05/0.1491, allocations: 95.27 kB / 432.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1491, allocations: 0 / 432.5 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1493, allocations: 12 kB / 432.5 MB, free: 14.23 MB / 366.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.0001336/0.1495, allocations: 95.78 kB / 432.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003077/0.1498, allocations: 72.02 kB / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1498, allocations: 0 / 432.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.1499, allocations: 31.97 kB / 432.7 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002827/0.1502, allocations: 8 kB / 432.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.1507, allocations: 193.4 kB / 432.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.1511, allocations: 0.6947 MB / 433.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.79e-05/0.1511, allocations: 8 kB / 433.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.042e-05/0.1512, allocations: 7.438 kB / 433.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1512, allocations: 4 kB / 433.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Templates: time 0.003591/0.1548, allocations: 0.7189 MB / 434.4 MB, free: 12.35 MB / 366.1 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.994101233780384]