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.00129/0.00129, allocations: 123.4 kB / 17.79 MB, free: 5.285 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.001272/0.001272, allocations: 208.2 kB / 20.75 MB, free: 2.336 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.417/1.417, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001459/0.001459, allocations: 59.91 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1078, allocations: 53.33 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.Noise.Densities): time 0.002851/0.1107, allocations: 1.597 MB / 427.9 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001006/0.1117, allocations: 0.5727 MB / 428.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.744e-05/0.1117, allocations: 0 / 428.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.1118, allocations: 7.875 kB / 428.5 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.1119, allocations: 15.86 kB / 428.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.1121, allocations: 51.83 kB / 428.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.251e-05/0.1122, allocations: 47.86 kB / 428.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.1123, allocations: 19.97 kB / 428.6 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.568e-05/0.1123, allocations: 23.92 kB / 428.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.1124, allocations: 23.86 kB / 428.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1124, allocations: 4 kB / 428.7 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.1126, allocations: 59.88 kB / 428.7 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.654e-05/0.1126, allocations: 11.94 kB / 428.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.1127, allocations: 27.8 kB / 428.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.1129, allocations: 83.64 kB / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1129, allocations: 0 / 428.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1129, allocations: 4 kB / 428.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1129, allocations: 3.938 kB / 428.9 MB, free: 2.199 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.0005017/0.1134, allocations: 375.2 kB / 429.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1134, allocations: 12.03 kB / 429.2 MB, free: 1.773 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.706e-05/0.1135, allocations: 50.56 kB / 429.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00042/0.1139, allocations: 52.83 kB / 429.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.114, allocations: 180.3 kB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.227e-05/0.1141, allocations: 8.375 kB / 429.5 MB, free: 1.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1141, allocations: 4.375 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1143, allocations: 93.77 kB / 429.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.1143, allocations: 4 kB / 429.6 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.1144, allocations: 4 kB / 429.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1144, allocations: 0 / 429.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002348/0.1146, allocations: 83.78 kB / 429.7 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.1152, allocations: 356.6 kB / 430.1 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002245/0.1154, allocations: 74.47 kB / 430.1 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.1155, allocations: 36.97 kB / 430.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1155, allocations: 0 / 430.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.1156, allocations: 38.53 kB / 430.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.31e-07/0.1156, allocations: 0 / 430.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004221/0.116, allocations: 121.5 kB / 430.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.116, allocations: 59.41 kB / 430.4 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.1161, allocations: 130.1 kB / 430.5 MB, free: 356 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.1162, allocations: 25.7 kB / 430.5 MB, free: 324 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.1162, allocations: 100 kB / 430.6 MB, free: 220 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.1162, allocations: 15.86 kB / 430.7 MB, free: 204 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.1163, allocations: 21.7 kB / 430.7 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1164, allocations: 314.8 kB / 431 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.1166, allocations: 31.97 kB / 431 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.925e-05/0.1166, allocations: 27.94 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.1168, allocations: 60.81 kB / 431.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1168, allocations: 0 / 431.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002663/0.1171, allocations: 93.59 kB / 431.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1171, allocations: 4 kB / 431.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1171, allocations: 4 kB / 431.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1171, allocations: 3.938 kB / 431.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1173, allocations: 23.97 kB / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1173, allocations: 0 / 431.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.566e-05/0.1174, allocations: 20.31 kB / 431.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.1174, allocations: 0 / 431.2 MB, free: 15.58 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.309e-05/0.1175, allocations: 113.8 kB / 431.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1175, allocations: 0 / 431.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.1178, allocations: 125.5 kB / 431.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1178, allocations: 4 kB / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1178, allocations: 0 / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1178, allocations: 0 / 431.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1181, allocations: 201.6 kB / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1181, allocations: 0 / 431.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.1182, allocations: 19.98 kB / 431.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1182, allocations: 0 / 431.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.1182, allocations: 3.938 kB / 431.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.1182, allocations: 7.984 kB / 431.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1182, allocations: 0 / 431.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.1185, allocations: 195.4 kB / 431.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.716e-05/0.1185, allocations: 81.11 kB / 432 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1186, allocations: 11.92 kB / 432 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1187, allocations: 12 kB / 432 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.027e-05/0.1187, allocations: 7.922 kB / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.1187, allocations: 0 / 432 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.097e-05/0.1188, allocations: 98.27 kB / 432.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1188, allocations: 0 / 432.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002345/0.119, allocations: 23.89 kB / 432.1 MB, free: 14.59 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.0007291/0.1197, allocations: 0.7592 MB / 432.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002634/0.12, allocations: 67.92 kB / 433 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.12, allocations: 4 kB / 433 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.1201, allocations: 40.22 kB / 433 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1204, allocations: 10.25 kB / 433 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.1222, allocations: 1.469 MB / 434.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.1225, allocations: 0.6962 MB / 435.2 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.385e-05/0.1225, allocations: 7.984 kB / 435.2 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.1226, allocations: 23.44 kB / 435.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1226, allocations: 4 kB / 435.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.1465, allocations: 1.902 MB / 437.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.411, allocations: 14.09 kB / 437.1 MB, free: 9.551 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Blocks.Examples.Noise.Densities_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 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.csv","/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.045113480999134]