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.001315/0.001315, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001477/0.001477, allocations: 215 kB / 21.45 MB, free: 1.617 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.556/1.556, allocations: 230.6 MB / 254.8 MB, free: 15.09 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: "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.92 kB / 373.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1263, allocations: 53.33 MB / 427 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.00313/0.1294, allocations: 1.591 MB / 428.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1305, allocations: 0.5688 MB / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.337e-05/0.1306, allocations: 0 / 429.2 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.02e-05/0.1306, allocations: 11.86 kB / 429.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/0.1307, allocations: 11.88 kB / 429.2 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002587/0.131, allocations: 47.83 kB / 429.3 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001105/0.1311, allocations: 55.84 kB / 429.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1312, allocations: 19.98 kB / 429.3 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.181e-05/0.1313, allocations: 15.92 kB / 429.4 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.685e-05/0.1313, allocations: 39.72 kB / 429.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.597e-05/0.1313, allocations: 4 kB / 429.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.1316, allocations: 47.97 kB / 429.4 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.419e-05/0.1316, allocations: 19.91 kB / 429.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.1316, allocations: 23.81 kB / 429.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1318, allocations: 87.58 kB / 429.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1318, allocations: 0 / 429.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1318, allocations: 4 kB / 429.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.179e-05/0.1318, allocations: 0 / 429.6 MB, free: 2.211 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.0005471/0.1324, allocations: 383.1 kB / 429.9 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.1324, allocations: 12.03 kB / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.094e-05/0.1324, allocations: 192 / 430 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.1325, allocations: 50.62 kB / 430 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004285/0.1329, allocations: 56.83 kB / 430.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.1331, allocations: 176.2 kB / 430.2 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.122e-05/0.1331, allocations: 12.31 kB / 430.2 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.1331, allocations: 12.33 kB / 430.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.1334, allocations: 101.6 kB / 430.4 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1334, allocations: 4 kB / 430.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.1334, allocations: 4 kB / 430.4 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1335, allocations: 4 kB / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.1337, allocations: 79.94 kB / 430.4 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.1344, allocations: 380.5 kB / 430.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.1346, allocations: 94.47 kB / 430.9 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.1347, allocations: 52.81 kB / 431 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1347, allocations: 3.984 kB / 431 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.575e-05/0.1348, allocations: 38.56 kB / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.152e-06/0.1348, allocations: 0 / 431 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001783/0.1366, allocations: 397.3 kB / 431.4 MB, free: 216 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.425e-05/0.1366, allocations: 51.41 kB / 431.4 MB, free: 152 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.1367, allocations: 125.7 kB / 431.6 MB, free: 16 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4e-05/0.1368, allocations: 33.7 kB / 431.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.1368, allocations: 96.41 kB / 431.7 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.1369, allocations: 59.48 kB / 431.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.779e-05/0.137, allocations: 29.7 kB / 431.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1371, allocations: 326.8 kB / 432.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000193/0.1373, allocations: 59.95 kB / 432.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1375, allocations: 79.08 kB / 432.2 MB, free: 15.31 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.1378, allocations: 129.7 kB / 432.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1378, allocations: 3.938 kB / 432.4 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004314/0.1383, allocations: 181.5 kB / 432.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1383, allocations: 11.94 kB / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1383, allocations: 0 / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1383, allocations: 0 / 432.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1386, allocations: 47.89 kB / 432.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.1386, allocations: 4 kB / 432.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001763/0.1388, allocations: 27.95 kB / 432.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.1388, allocations: 7.984 kB / 432.6 MB, free: 14.89 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.0001053/0.1389, allocations: 113.8 kB / 432.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.985e-05/0.1389, allocations: 15.89 kB / 432.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005276/0.1395, allocations: 204.5 kB / 433 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.1395, allocations: 11.92 kB / 433 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1395, allocations: 0 / 433 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1395, allocations: 0 / 433 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009593/0.1404, allocations: 0.5506 MB / 433.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1404, allocations: 4.062 kB / 433.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000251/0.1407, allocations: 47.91 kB / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1407, allocations: 0 / 433.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1407, allocations: 7.984 kB / 433.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1407, allocations: 0 / 433.6 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.1407, allocations: 7.984 kB / 433.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.1412, allocations: 306.4 kB / 433.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.093e-05/0.1413, allocations: 85.06 kB / 434 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.1413, allocations: 0 / 434 MB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.1415, allocations: 23.97 kB / 434 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.1416, allocations: 11.92 kB / 434 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1416, allocations: 12 kB / 434 MB, free: 13.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.706e-05/0.1417, allocations: 99.27 kB / 434.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1417, allocations: 0 / 434.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1419, allocations: 24 kB / 434.1 MB, free: 13.27 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 17 * 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.001101/0.143, allocations: 0.9195 MB / 435.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004566/0.1435, allocations: 147.4 kB / 435.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1435, allocations: 4.062 kB / 435.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002077/0.1437, allocations: 75.89 kB / 435.3 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003636/0.1441, allocations: 15.94 kB / 435.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.1466, allocations: 1.816 MB / 437.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.147, allocations: 0.7079 MB / 437.8 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.939e-05/0.147, allocations: 16.55 kB / 437.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.1472, allocations: 35.42 kB / 437.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1472, allocations: 0 / 437.9 MB, free: 9.391 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02011/0.1673, allocations: 3.122 MB / 441 MB, free: 6.363 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.507/8.674, allocations: 9.656 kB / 441 MB, free: 6.355 MB / 366.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities_fmu --startTime=0 --stopTime=20 --stepSize=0.02 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities.fmu > Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_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: 11.482723071007058]