Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 120.4 kB / 18.5 MB, free: 4.555 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001395/0.001395, allocations: 212.9 kB / 21.46 MB, free: 1.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.89 kB / 373.4 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1465, allocations: 53.32 MB / 426.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002973/0.1495, allocations: 1.593 MB / 428.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1506, allocations: 0.5765 MB / 428.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.425e-05/0.1506, allocations: 0 / 428.8 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.903e-05/0.1507, allocations: 3.938 kB / 428.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.1507, allocations: 11.88 kB / 428.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002684/0.151, allocations: 51.81 kB / 428.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001014/0.1511, allocations: 59.78 kB / 429 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1512, allocations: 12 kB / 429 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.1513, allocations: 23.91 kB / 429 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.121e-05/0.1513, allocations: 27.86 kB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1514, allocations: 4 kB / 429 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.1516, allocations: 51.89 kB / 429.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.5e-05/0.1516, allocations: 15.92 kB / 429.1 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.1517, allocations: 31.8 kB / 429.1 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001816/0.1518, allocations: 83.64 kB / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1518, allocations: 0 / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1518, allocations: 0 / 429.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1519, allocations: 11.88 kB / 429.2 MB, free: 2.496 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.0005355/0.1524, allocations: 375.2 kB / 429.6 MB, free: 2.082 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1524, allocations: 8.031 kB / 429.6 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.978e-05/0.1525, allocations: 50.62 kB / 429.6 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/0.153, allocations: 52.83 kB / 429.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.1532, allocations: 176.2 kB / 429.9 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.1532, allocations: 4.375 kB / 429.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.818e-05/0.1532, allocations: 16.38 kB / 429.9 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002573/0.1535, allocations: 92.11 kB / 430 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1535, allocations: 4 kB / 430 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1535, allocations: 4 kB / 430 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1535, allocations: 0 / 430 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002253/0.1537, allocations: 75.83 kB / 430.1 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.1544, allocations: 368.6 kB / 430.4 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.1546, allocations: 70.47 kB / 430.5 MB, free: 1.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.881e-05/0.1547, allocations: 36.95 kB / 430.5 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1547, allocations: 4 kB / 430.5 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.1547, allocations: 34.56 kB / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.1547, allocations: 0 / 430.6 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000419/0.1552, allocations: 125.5 kB / 430.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.1552, allocations: 51.41 kB / 430.7 MB, free: 0.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.1553, allocations: 130.1 kB / 430.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1553, allocations: 25.7 kB / 430.9 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.952e-05/0.1554, allocations: 104 kB / 431 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1554, allocations: 15.86 kB / 431 MB, free: 0.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.1555, allocations: 17.7 kB / 431 MB, free: 488 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1556, allocations: 318.8 kB / 431.3 MB, free: 160 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.1557, allocations: 23.97 kB / 431.4 MB, free: 136 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.423e-05/0.1558, allocations: 35.94 kB / 431.4 MB, free: 100 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000168/0.156, allocations: 56.81 kB / 431.4 MB, free: 40 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.156, allocations: 0 / 431.4 MB, free: 40 kB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002544/0.1562, allocations: 97.59 kB / 431.5 MB, free: 15.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1562, allocations: 7.984 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.1563, allocations: 4 kB / 431.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.1563, allocations: 3.938 kB / 431.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.1564, allocations: 15.98 kB / 431.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1564, allocations: 4 kB / 431.6 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.1565, allocations: 16.31 kB / 431.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1565, allocations: 4 kB / 431.6 MB, free: 15.88 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 9.164e-05/0.1566, allocations: 113.8 kB / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1566, allocations: 0 / 431.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/0.1569, allocations: 125.5 kB / 431.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1569, allocations: 3.938 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1569, allocations: 0 / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1569, allocations: 4 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.1572, allocations: 193.6 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.1572, allocations: 0 / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.1573, allocations: 23.98 kB / 432.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1573, allocations: 0 / 432.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.1573, allocations: 11.92 kB / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1573, allocations: 0 / 432.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.1573, allocations: 4 kB / 432.1 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.1576, allocations: 191.5 kB / 432.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.1576, allocations: 85.09 kB / 432.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1577, allocations: 7.938 kB / 432.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.1578, allocations: 7.938 kB / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.555e-05/0.1578, allocations: 7.984 kB / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.1578, allocations: 0 / 432.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.924e-05/0.1579, allocations: 102.3 kB / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1579, allocations: 0 / 432.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.1581, allocations: 19.89 kB / 432.5 MB, free: 14.9 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.0007164/0.1588, allocations: 0.7632 MB / 433.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002528/0.1591, allocations: 68.02 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1591, allocations: 4 kB / 433.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.456e-05/0.1591, allocations: 36.03 kB / 433.4 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1595, allocations: 12.12 kB / 433.4 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1613, allocations: 1.467 MB / 434.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1616, allocations: 0.6923 MB / 435.5 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.018e-05/0.1617, allocations: 7.984 kB / 435.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.249e-05/0.1617, allocations: 23.42 kB / 435.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1617, allocations: 4 kB / 435.6 MB, free: 11.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02438/0.1861, allocations: 1.903 MB / 437.5 MB, free: 9.859 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.065/8.251, allocations: 10.88 kB / 437.5 MB, free: 9.852 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.Noise.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 10.864607892930508]