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.001064/0.001064, allocations: 102.5 kB / 17.73 MB, free: 5.371 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.0009907/0.0009908, allocations: 191 kB / 18.66 MB, free: 4.445 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.37/1.37, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001148/0.001148, allocations: 51.92 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 46.62 MB / 374.6 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.Densities): time 0.002685/0.1062, allocations: 1.564 MB / 376.2 MB, free: 3.512 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.1072, allocations: 0.5741 MB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.1073, allocations: 4 kB / 376.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.47e-05/0.1074, allocations: 3.938 kB / 376.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.1074, allocations: 7.875 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.1077, allocations: 47.83 kB / 376.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.434e-05/0.1078, allocations: 51.91 kB / 376.9 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1079, allocations: 19.98 kB / 376.9 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.108, allocations: 23.86 kB / 376.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.51e-05/0.1081, allocations: 23.86 kB / 377 MB, free: 2.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.1081, allocations: 4 kB / 377 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.1083, allocations: 47.89 kB / 377 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.126e-05/0.1083, allocations: 11.92 kB / 377 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.1084, allocations: 31.81 kB / 377 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.1085, allocations: 76.05 kB / 377.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1085, allocations: 0 / 377.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1085, allocations: 0 / 377.1 MB, free: 2.582 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1086, allocations: 4 kB / 377.1 MB, free: 2.578 MB / 318.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.0005186/0.1091, allocations: 383.2 kB / 377.5 MB, free: 2.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.1091, allocations: 8.031 kB / 377.5 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.071e-05/0.1092, allocations: 50.58 kB / 377.6 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/0.1096, allocations: 44.8 kB / 377.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.1097, allocations: 180.1 kB / 377.8 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1098, allocations: 8.375 kB / 377.8 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.1098, allocations: 4.375 kB / 377.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002342/0.11, allocations: 97.7 kB / 377.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.1101, allocations: 0 / 377.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1101, allocations: 4 kB / 377.9 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.1101, allocations: 7.938 kB / 377.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.1103, allocations: 71.94 kB / 378 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.1109, allocations: 364.4 kB / 378.3 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001872/0.1111, allocations: 70.53 kB / 378.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001195/0.1112, allocations: 44.95 kB / 378.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.1112, allocations: 0 / 378.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.1113, allocations: 30.56 kB / 378.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 8.61e-07/0.1113, allocations: 0 / 378.5 MB, free: 1.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003832/0.1117, allocations: 125.6 kB / 378.6 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.1117, allocations: 55.41 kB / 378.6 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.1118, allocations: 134.1 kB / 378.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.1118, allocations: 25.7 kB / 378.8 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001181/0.112, allocations: 99.97 kB / 378.9 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.112, allocations: 11.81 kB / 378.9 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.093e-05/0.112, allocations: 17.72 kB / 378.9 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.1122, allocations: 318.8 kB / 379.2 MB, free: 248 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.625e-05/0.1123, allocations: 27.98 kB / 379.3 MB, free: 220 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.644e-05/0.1124, allocations: 28.34 kB / 379.3 MB, free: 192 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.1126, allocations: 60.83 kB / 379.4 MB, free: 128 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.1126, allocations: 0 / 379.4 MB, free: 128 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002162/0.1128, allocations: 101.5 kB / 379.5 MB, free: 20 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1128, allocations: 8 kB / 379.5 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1128, allocations: 0 / 379.5 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.1129, allocations: 3.938 kB / 379.5 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1813/0.2941, allocations: 13.72 kB / 379.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.2942, allocations: 0.7812 kB / 379.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.2943, allocations: 9.938 kB / 379.5 MB, free: 12.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.2943, allocations: 3.016 kB / 379.5 MB, free: 12.81 MB / 318.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.0001015/0.2944, allocations: 118 kB / 379.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.652e-05/0.2945, allocations: 8.125 kB / 379.6 MB, free: 12.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003767/0.2948, allocations: 116.3 kB / 379.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2949, allocations: 0 / 379.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2949, allocations: 1.562 kB / 379.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.2949, allocations: 4.625 kB / 379.7 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.2951, allocations: 199.6 kB / 379.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.2951, allocations: 4.781 kB / 379.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.2953, allocations: 17.8 kB / 379.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.2953, allocations: 0 / 379.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.2953, allocations: 5.562 kB / 380 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.2953, allocations: 1.969 kB / 380 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.2953, allocations: 2.062 kB / 380 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.2956, allocations: 196 kB / 380.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.175e-05/0.2957, allocations: 83.83 kB / 380.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.827e-05/0.2957, allocations: 1.375 kB / 380.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.2958, allocations: 11.78 kB / 380.2 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.983e-05/0.2959, allocations: 8.625 kB / 380.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.2959, allocations: 8.734 kB / 380.3 MB, free: 12.24 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.713e-05/0.2959, allocations: 92.61 kB / 380.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2959, allocations: 0 / 380.4 MB, free: 12.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.2962, allocations: 16.81 kB / 380.4 MB, free: 12.17 MB / 318.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.0005266/0.2967, allocations: 0.7681 MB / 381.1 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.297, allocations: 68.39 kB / 381.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.297, allocations: 0 / 381.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2971, allocations: 37.28 kB / 381.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.2974, allocations: 9.359 kB / 381.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.2989, allocations: 1.486 MB / 382.7 MB, free: 10.34 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.2991, allocations: 0.6931 MB / 383.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.339e-05/0.2991, allocations: 8.75 kB / 383.4 MB, free: 9.648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.467e-05/0.2992, allocations: 23.41 kB / 383.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2992, allocations: 0 / 383.5 MB, free: 9.641 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01905/0.3183, allocations: 1.986 MB / 385.4 MB, free: 9.133 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.61/7.928, allocations: 10 kB / 385.5 MB, free: 9.125 MB / 318.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.Densities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches