Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator",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.001202/0.001202, allocations: 102.5 kB / 17.59 MB, free: 5.555 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.001172/0.001172, allocations: 192 kB / 18.51 MB, free: 4.637 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.876/1.876, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001335/0.001335, allocations: 55.92 kB / 280.7 MB, free: 3.082 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1466, allocations: 46.63 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.004966/0.1517, allocations: 1.332 MB / 328.7 MB, free: 3.035 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001044/0.1528, allocations: 363.7 kB / 329.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.29e-05/0.1529, allocations: 0 / 329.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.039e-05/0.1529, allocations: 7.938 kB / 329.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.204e-05/0.153, allocations: 0 / 329.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006295/0.1537, allocations: 83.67 kB / 329.2 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 6.94e-05/0.1537, allocations: 16 kB / 329.2 MB, free: 2.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.811e-05/0.1538, allocations: 7.984 kB / 329.2 MB, free: 2.562 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.74e-05/0.1539, allocations: 15.92 kB / 329.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.832e-05/0.1539, allocations: 4 kB / 329.2 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1539, allocations: 0 / 329.2 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002065/0.1542, allocations: 91.84 kB / 329.3 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.888e-05/0.1542, allocations: 3.938 kB / 329.3 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.1542, allocations: 8 kB / 329.3 MB, free: 2.441 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002226/0.1545, allocations: 83.81 kB / 329.4 MB, free: 2.359 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1545, allocations: 0 / 329.4 MB, free: 2.359 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1545, allocations: 3.938 kB / 329.4 MB, free: 2.355 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.1545, allocations: 0 / 329.4 MB, free: 2.355 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005792/0.1551, allocations: 351.7 kB / 329.7 MB, free: 1.961 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.796e-05/0.1552, allocations: 12.03 kB / 329.7 MB, free: 1.949 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.32e-05/0.1552, allocations: 30.75 kB / 329.8 MB, free: 1.91 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.1553, allocations: 4.844 kB / 329.8 MB, free: 1.906 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1555, allocations: 172.3 kB / 329.9 MB, free: 1.699 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.1555, allocations: 8.312 kB / 329.9 MB, free: 1.691 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1556, allocations: 4.375 kB / 330 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.1557, allocations: 38.23 kB / 330 MB, free: 1.645 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1557, allocations: 3.938 kB / 330 MB, free: 1.641 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1557, allocations: 4 kB / 330 MB, free: 1.637 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.1558, allocations: 0 / 330 MB, free: 1.637 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.1558, allocations: 8 kB / 330 MB, free: 1.629 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005901/0.1564, allocations: 248.9 kB / 330.2 MB, free: 1.336 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.627e-05/0.1565, allocations: 30.52 kB / 330.3 MB, free: 1.297 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.733e-05/0.1565, allocations: 8.922 kB / 330.3 MB, free: 1.285 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.799e-05/0.1566, allocations: 4 kB / 330.3 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002733/0.1568, allocations: 59.33 kB / 330.4 MB, free: 1.211 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.703e-06/0.1568, allocations: 0 / 330.4 MB, free: 1.211 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002287/0.1571, allocations: 57.53 kB / 330.4 MB, free: 1.148 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.332e-05/0.1572, allocations: 51.41 kB / 330.5 MB, free: 1.086 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.1573, allocations: 109.8 kB / 330.6 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1573, allocations: 29.7 kB / 330.6 MB, free: 0.9336 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/0.1574, allocations: 84.14 kB / 330.7 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.1574, allocations: 7.906 kB / 330.7 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.1575, allocations: 17.7 kB / 330.7 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0003966/0.1579, allocations: 318.8 kB / 331 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.813e-05/0.1579, allocations: 4 kB / 331 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.158, allocations: 21.7 kB / 331 MB, free: 476 kB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.968e-05/0.158, allocations: 37.59 kB / 331.1 MB, free: 432 kB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.158, allocations: 4 kB / 331.1 MB, free: 428 kB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001012/0.1581, allocations: 49.69 kB / 331.1 MB, free: 372 kB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.1582, allocations: 4 kB / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.1582, allocations: 0 / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.1582, allocations: 0 / 331.1 MB, free: 368 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/0.1583, allocations: 11.94 kB / 331.1 MB, free: 356 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.1583, allocations: 3.984 kB / 331.1 MB, free: 352 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.992e-05/0.1583, allocations: 3.906 kB / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.1584, allocations: 8.375 kB / 331.2 MB, free: 340 kB / 270.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: 4 ($whenCondition1,globalSeed.id_impure,globalSeed.seed,impureRandom.y) * 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.0001183/0.1585, allocations: 117.8 kB / 331.3 MB, free: 212 kB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.358e-06/0.1585, allocations: 0 / 331.3 MB, free: 212 kB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.488e-05/0.1585, allocations: 7.906 kB / 331.3 MB, free: 200 kB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1585, allocations: 0 / 331.3 MB, free: 200 kB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.1586, allocations: 4 kB / 331.3 MB, free: 196 kB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1586, allocations: 7.938 kB / 331.3 MB, free: 188 kB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003122/0.1589, allocations: 290.7 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1589, allocations: 3.938 kB / 331.6 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.342e-05/0.1589, allocations: 8 kB / 331.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1589, allocations: 4.031 kB / 331.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.159, allocations: 0 / 331.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.159, allocations: 0 / 331.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.159, allocations: 0 / 331.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.1591, allocations: 147.5 kB / 331.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.1593, allocations: 85 kB / 331.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.1593, allocations: 4 kB / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.103e-05/0.1593, allocations: 4 kB / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.1594, allocations: 0 / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.1594, allocations: 0 / 331.8 MB, free: 15.56 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.085e-05/0.1594, allocations: 99.14 kB / 331.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1594, allocations: 0 / 331.9 MB, free: 15.46 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002997/0.1598, allocations: 20 kB / 331.9 MB, free: 15.44 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: 2 ($whenCondition1,impureRandom.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001138/0.1609, allocations: 0.7662 MB / 332.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.161, allocations: 23.94 kB / 332.7 MB, free: 14.64 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.1611, allocations: 4.062 kB / 332.7 MB, free: 14.63 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.1611, allocations: 11.98 kB / 332.7 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.1613, allocations: 4 kB / 332.8 MB, free: 14.62 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.1629, allocations: 1.223 MB / 334 MB, free: 13.31 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1633, allocations: 0.6768 MB / 334.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.238e-05/0.1633, allocations: 4 kB / 334.7 MB, free: 12.6 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.1634, allocations: 19.44 kB / 334.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1634, allocations: 96 / 334.7 MB, free: 12.58 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/0.1912, allocations: 1.894 MB / 336.6 MB, free: 10.63 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.119, allocations: 11.81 kB / 336.6 MB, free: 10.62 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches