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.001476/0.001476, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.001511/0.001511, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.584/1.584, allocations: 230.5 MB / 257.4 MB, free: 7.965 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.002085/0.002085, allocations: 63.91 kB / 377.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3304, allocations: 53.41 MB / 431.2 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.003768/0.3342, allocations: 1.614 MB / 432.8 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3355, allocations: 0.5687 MB / 433.4 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.322e-05/0.3356, allocations: 4 kB / 433.4 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.955e-05/0.3356, allocations: 7.875 kB / 433.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3357, allocations: 11.94 kB / 433.4 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.3361, allocations: 63.75 kB / 433.5 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.3363, allocations: 47.84 kB / 433.5 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.3364, allocations: 19.98 kB / 433.5 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.3365, allocations: 23.86 kB / 433.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.883e-05/0.3365, allocations: 23.86 kB / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.3366, allocations: 8 kB / 433.6 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.3369, allocations: 55.88 kB / 433.6 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.647e-05/0.3369, allocations: 8 kB / 433.6 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.14e-05/0.3369, allocations: 31.8 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002924/0.3372, allocations: 87.02 kB / 433.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3372, allocations: 0 / 433.8 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3372, allocations: 7.938 kB / 433.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.3372, allocations: 0 / 433.8 MB, free: 4.066 MB / 334.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.000586/0.3378, allocations: 299 kB / 434.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3379, allocations: 8.031 kB / 434.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.492e-05/0.338, allocations: 46.69 kB / 434.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005688/0.3385, allocations: 48.84 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3387, allocations: 126.4 kB / 434.3 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.3387, allocations: 4.375 kB / 434.3 MB, free: 3.484 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.3388, allocations: 12.38 kB / 434.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002658/0.339, allocations: 93.77 kB / 434.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.339, allocations: 0 / 434.4 MB, free: 3.375 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.3391, allocations: 4 kB / 434.4 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3391, allocations: 4 kB / 434.4 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.3393, allocations: 71.88 kB / 434.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007359/0.34, allocations: 339.5 kB / 434.8 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.3403, allocations: 70.53 kB / 434.9 MB, free: 2.844 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.3404, allocations: 36.89 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3404, allocations: 4 kB / 434.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.3404, allocations: 34.56 kB / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.3404, allocations: 0 / 434.9 MB, free: 2.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004423/0.3409, allocations: 129.5 kB / 435.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.3409, allocations: 51.41 kB / 435.1 MB, free: 2.562 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.341, allocations: 125.6 kB / 435.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.633e-05/0.3411, allocations: 33.7 kB / 435.3 MB, free: 2.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/0.3411, allocations: 96.02 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.3412, allocations: 15.91 kB / 435.4 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.3412, allocations: 21.7 kB / 435.4 MB, free: 2.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3413, allocations: 314.8 kB / 435.7 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.3414, allocations: 27.97 kB / 435.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.3415, allocations: 31.97 kB / 435.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.3417, allocations: 56.83 kB / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3417, allocations: 0 / 435.8 MB, free: 1.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002356/0.342, allocations: 101.5 kB / 435.9 MB, free: 1.711 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.342, allocations: 10.5 kB / 435.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.342, allocations: 0 / 435.9 MB, free: 1.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.342, allocations: 3.938 kB / 435.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.3422, allocations: 15.98 kB / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.3422, allocations: 0 / 436 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.958e-05/0.3422, allocations: 20.31 kB / 436 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3423, allocations: 8 kB / 436 MB, free: 1.656 MB / 334.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.238e-05/0.3423, allocations: 109.8 kB / 436.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.225e-05/0.3424, allocations: 7.984 kB / 436.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.3427, allocations: 125.5 kB / 436.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3427, allocations: 0 / 436.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3427, allocations: 0 / 436.2 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3427, allocations: 4 kB / 436.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002338/0.343, allocations: 172.6 kB / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.343, allocations: 0 / 436.4 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.3431, allocations: 19.98 kB / 436.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3431, allocations: 0 / 436.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3431, allocations: 7.922 kB / 436.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3431, allocations: 0 / 436.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3431, allocations: 3.938 kB / 436.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003315/0.3435, allocations: 195.5 kB / 436.6 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.269e-05/0.3435, allocations: 11.94 kB / 436.6 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.3435, allocations: 3.938 kB / 436.6 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.3436, allocations: 8 kB / 436.6 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.3436, allocations: 7.984 kB / 436.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.3436, allocations: 0 / 436.6 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.759e-05/0.3437, allocations: 95.27 kB / 436.7 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3437, allocations: 4 kB / 436.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.344, allocations: 23.89 kB / 436.8 MB, free: 0.793 MB / 334.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.0007318/0.3447, allocations: 0.7515 MB / 437.5 MB, free: 16 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002808/0.345, allocations: 72.14 kB / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.345, allocations: 0 / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.964e-05/0.3451, allocations: 36.09 kB / 437.6 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003791/0.3455, allocations: 8.125 kB / 437.6 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.3474, allocations: 1.465 MB / 439.1 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.3477, allocations: 0.6924 MB / 439.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.766e-05/0.3478, allocations: 8 kB / 439.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.795e-05/0.3479, allocations: 27.42 kB / 439.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3479, allocations: 0 / 439.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03209/0.3799, allocations: 2.04 MB / 441.9 MB, free: 11.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.72, allocations: 12.36 kB / 441.9 MB, free: 11.66 MB / 350.1 MB " [Timeout remaining time 648] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/Noise/Densities/Densities.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 14.28219552198425]