Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.Densities,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008955/0.0008958, allocations: 90.06 kB / 17.3 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 177.4 kB / 18.21 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004758, allocations: 23.94 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1105, allocations: 47.57 MB / 329.1 MB, free: 3.672 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.001838/0.1124, allocations: 1.286 MB / 330.3 MB, free: 2.371 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.1134, allocations: 0.559 MB / 330.9 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.189e-05/0.1135, allocations: 0 / 330.9 MB, free: 1.809 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.1135, allocations: 3.938 kB / 330.9 MB, free: 1.805 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.541e-05/0.1136, allocations: 7.938 kB / 330.9 MB, free: 1.797 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1139, allocations: 35.91 kB / 330.9 MB, free: 1.762 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.114, allocations: 47.91 kB / 331 MB, free: 1.715 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.1141, allocations: 19.98 kB / 331 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.058e-05/0.1142, allocations: 23.86 kB / 331 MB, free: 1.672 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.671e-05/0.1142, allocations: 19.86 kB / 331.1 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.1143, allocations: 0 / 331.1 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.1144, allocations: 35.97 kB / 331.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.905e-05/0.1145, allocations: 15.86 kB / 331.1 MB, free: 1.602 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.312e-05/0.1145, allocations: 53.5 kB / 331.2 MB, free: 1.543 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.1147, allocations: 75.77 kB / 331.2 MB, free: 1.469 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.1147, allocations: 0 / 331.2 MB, free: 1.469 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1147, allocations: 0 / 331.2 MB, free: 1.469 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1147, allocations: 4 kB / 331.2 MB, free: 1.465 MB / 270.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.0004947/0.1152, allocations: 367.5 kB / 331.6 MB, free: 1.059 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.1153, allocations: 8.031 kB / 331.6 MB, free: 1.051 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.693e-05/0.1154, allocations: 42.66 kB / 331.6 MB, free: 1 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003941/0.1158, allocations: 60.78 kB / 331.7 MB, free: 0.9414 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001686/0.116, allocations: 176.2 kB / 331.9 MB, free: 0.7305 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.116, allocations: 4.375 kB / 331.9 MB, free: 0.7266 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.116, allocations: 12.31 kB / 331.9 MB, free: 0.7148 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000265/0.1163, allocations: 97.58 kB / 332 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.1163, allocations: 4 kB / 332 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.1164, allocations: 4 kB / 332 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.1164, allocations: 8 kB / 332 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002465/0.1166, allocations: 79.94 kB / 332.1 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006288/0.1173, allocations: 380.3 kB / 332.5 MB, free: 100 kB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.1175, allocations: 86.53 kB / 332.5 MB, free: 4 kB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001287/0.1176, allocations: 36.95 kB / 332.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.1177, allocations: 3.938 kB / 332.6 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1177, allocations: 42.56 kB / 332.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of pre-optimization done (n=5): time 1.001e-06/0.1177, allocations: 0 / 332.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004452/0.1181, allocations: 141.6 kB / 332.8 MB, free: 15.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1182, allocations: 51.41 kB / 332.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1183, allocations: 122.1 kB / 332.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.1183, allocations: 25.7 kB / 333 MB, free: 15.54 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.1184, allocations: 96.05 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.1184, allocations: 23.73 kB / 333.1 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1185, allocations: 9.719 kB / 333.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.1186, allocations: 326.8 kB / 333.4 MB, free: 15.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/0.1187, allocations: 31.97 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.963e-05/0.1188, allocations: 31.92 kB / 333.5 MB, free: 15.02 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.119, allocations: 76.81 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.119, allocations: 0 / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002375/0.1193, allocations: 105.6 kB / 333.6 MB, free: 14.83 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1193, allocations: 4 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1193, allocations: 3.938 kB / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1193, allocations: 0 / 333.6 MB, free: 14.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.1195, allocations: 23.97 kB / 333.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1195, allocations: 0 / 333.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.17e-05/0.1196, allocations: 27.92 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1196, allocations: 0 / 333.7 MB, free: 14.77 MB / 286.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 0.0001053/0.1197, allocations: 109.8 kB / 333.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.855e-05/0.1197, allocations: 7.906 kB / 333.8 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.1201, allocations: 125.5 kB / 333.9 MB, free: 14.52 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1201, allocations: 4.5 kB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1201, allocations: 0 / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.1201, allocations: 0 / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1203, allocations: 197.6 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.1203, allocations: 4 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.1205, allocations: 27.92 kB / 334.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.1205, allocations: 0 / 334.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.1205, allocations: 7.875 kB / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1205, allocations: 0 / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1205, allocations: 0 / 334.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.1208, allocations: 211.4 kB / 334.4 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.1209, allocations: 85.02 kB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1209, allocations: 3.938 kB / 334.5 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.121, allocations: 19.92 kB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.1211, allocations: 0 / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.1211, allocations: 7.984 kB / 334.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.631e-05/0.1211, allocations: 95.28 kB / 334.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1212, allocations: 0 / 334.6 MB, free: 13.78 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.1214, allocations: 15.98 kB / 334.6 MB, free: 13.77 MB / 286.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.0007449/0.1221, allocations: 0.7787 MB / 335.4 MB, free: 12.96 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000257/0.1224, allocations: 76 kB / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1224, allocations: 0 / 335.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.1225, allocations: 47.91 kB / 335.5 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.1228, allocations: 12.88 kB / 335.5 MB, free: 12.83 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.1248, allocations: 1.537 MB / 337 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1252, allocations: 0.6926 MB / 337.7 MB, free: 10.49 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.544e-05/0.1252, allocations: 8 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/0.1253, allocations: 27.42 kB / 337.8 MB, free: 10.46 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1253, allocations: 3.938 kB / 337.8 MB, free: 10.45 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01277/0.1381, allocations: 1.698 MB / 339.5 MB, free: 8.762 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/0.1384, allocations: 199.9 kB / 339.7 MB, free: 8.504 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.938/2.076, allocations: 3.938 kB / 339.7 MB, free: 8.5 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_Densities.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/Densities/Densities.csv","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches