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.001374/0.001374, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001458/0.001458, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.502/1.502, allocations: 230.6 MB / 254.1 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.Noise.Densities,fileNamePrefix="Modelica_4_1_0_Modelica_Blocks_Examples_Noise_Densities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 47.94 kB / 373 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1059, allocations: 53.33 MB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002984/0.1089, allocations: 1.595 MB / 427.9 MB, free: 3.188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.11, allocations: 0.5726 MB / 428.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.193e-05/0.11, allocations: 0 / 428.5 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.1101, allocations: 7.922 kB / 428.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.338e-05/0.1102, allocations: 11.88 kB / 428.5 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.1104, allocations: 51.81 kB / 428.6 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001068/0.1105, allocations: 55.8 kB / 428.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.1107, allocations: 19.97 kB / 428.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.238e-05/0.1107, allocations: 19.92 kB / 428.7 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.481e-05/0.1108, allocations: 27.86 kB / 428.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.1108, allocations: 4 kB / 428.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000243/0.111, allocations: 51.95 kB / 428.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.32e-05/0.1111, allocations: 15.92 kB / 428.8 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.1111, allocations: 27.75 kB / 428.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.1113, allocations: 83.64 kB / 428.9 MB, free: 2.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1113, allocations: 3.984 kB / 428.9 MB, free: 2.234 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1113, allocations: 4 kB / 428.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.267e-05/0.1113, allocations: 3.938 kB / 428.9 MB, free: 2.227 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.0006313/0.1119, allocations: 375.2 kB / 429.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.112, allocations: 12.03 kB / 429.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.604e-05/0.1121, allocations: 46.62 kB / 429.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004762/0.1126, allocations: 48.84 kB / 429.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.1127, allocations: 188.2 kB / 429.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.1128, allocations: 12.31 kB / 429.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.1128, allocations: 4.375 kB / 429.5 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.1131, allocations: 95.95 kB / 429.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1131, allocations: 0 / 429.6 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1131, allocations: 4 kB / 429.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.1131, allocations: 0 / 429.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002595/0.1134, allocations: 75.84 kB / 429.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006912/0.1141, allocations: 364.6 kB / 430.1 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.1143, allocations: 74.47 kB / 430.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1144, allocations: 32.97 kB / 430.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.1144, allocations: 0 / 430.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1145, allocations: 34.56 kB / 430.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1145, allocations: 0 / 430.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004746/0.1149, allocations: 125.5 kB / 430.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.115, allocations: 59.41 kB / 430.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1151, allocations: 126.1 kB / 430.5 MB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.1151, allocations: 29.7 kB / 430.5 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.3e-05/0.1152, allocations: 104 kB / 430.6 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1152, allocations: 15.86 kB / 430.7 MB, free: 236 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.1153, allocations: 17.7 kB / 430.7 MB, free: 212 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1155, allocations: 318.8 kB / 431 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.1156, allocations: 27.97 kB / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.59e-05/0.1157, allocations: 31.94 kB / 431 MB, free: 15.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.1159, allocations: 60.81 kB / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1159, allocations: 0 / 431.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002542/0.1161, allocations: 89.66 kB / 431.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1161, allocations: 4 kB / 431.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.1161, allocations: 4 kB / 431.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.1162, allocations: 3.938 kB / 431.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.1163, allocations: 27.91 kB / 431.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.1163, allocations: 0 / 431.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.1164, allocations: 15.89 kB / 431.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1164, allocations: 3.984 kB / 431.3 MB, free: 15.61 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 8.981e-05/0.1165, allocations: 113.8 kB / 431.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.1165, allocations: 4 kB / 431.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003188/0.1168, allocations: 113.5 kB / 431.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1168, allocations: 4 kB / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1169, allocations: 0 / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1169, allocations: 0 / 431.5 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002254/0.1171, allocations: 198.1 kB / 431.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1171, allocations: 0 / 431.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.1172, allocations: 31.92 kB / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1172, allocations: 3.938 kB / 431.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1172, allocations: 3.938 kB / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1172, allocations: 4 kB / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1172, allocations: 0 / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.1175, allocations: 195.5 kB / 431.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.1176, allocations: 85.11 kB / 432 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.1176, allocations: 3.938 kB / 432 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1177, allocations: 11.98 kB / 432 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.528e-05/0.1177, allocations: 7.984 kB / 432 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.1177, allocations: 0 / 432 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.231e-05/0.1178, allocations: 98.77 kB / 432.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1178, allocations: 0 / 432.1 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.118, allocations: 23.83 kB / 432.1 MB, free: 14.63 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.000784/0.1188, allocations: 0.7593 MB / 432.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003252/0.1191, allocations: 71.86 kB / 433 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1191, allocations: 4 kB / 433 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1192, allocations: 35.92 kB / 433 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.1197, allocations: 15.95 kB / 433 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.1217, allocations: 1.463 MB / 434.5 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.1221, allocations: 0.7 MB / 435.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.886e-05/0.1221, allocations: 4 kB / 435.2 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.164e-05/0.1222, allocations: 31.42 kB / 435.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1222, allocations: 0 / 435.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.1476, allocations: 1.894 MB / 437.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.154/8.302, allocations: 6.906 kB / 437.1 MB, free: 9.59 MB / 366.1 MB " [Timeout remaining time 652] (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: 10.864891167031601]