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.001161/0.001161, allocations: 103.8 kB / 17.16 MB, free: 6.316 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.001266/0.001266, allocations: 190 kB / 18.07 MB, free: 5.414 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.286/1.286, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001215/0.001215, allocations: 47.92 kB / 280.1 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09099/0.09222, allocations: 46.63 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002482/0.09475, allocations: 1.416 MB / 328.1 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007385/0.09551, allocations: 368.6 kB / 328.5 MB, free: 3 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.786e-05/0.09555, allocations: 0 / 328.5 MB, free: 3 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.0956, allocations: 0 / 328.5 MB, free: 3 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 5.391e-05/0.09566, allocations: 0 / 328.5 MB, free: 3 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.09607, allocations: 67.84 kB / 328.5 MB, free: 2.934 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.884e-05/0.09613, allocations: 15.94 kB / 328.5 MB, free: 2.918 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.713e-05/0.09617, allocations: 4 kB / 328.6 MB, free: 2.914 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.396e-05/0.0962, allocations: 7.938 kB / 328.6 MB, free: 2.906 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.556e-05/0.09623, allocations: 19.91 kB / 328.6 MB, free: 2.887 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.09625, allocations: 0 / 328.6 MB, free: 2.887 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.09641, allocations: 79.86 kB / 328.7 MB, free: 2.809 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.656e-05/0.09643, allocations: 11.98 kB / 328.7 MB, free: 2.797 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.09647, allocations: 7.875 kB / 328.7 MB, free: 2.789 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.09663, allocations: 87.81 kB / 328.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.09664, allocations: 0 / 328.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.09665, allocations: 0 / 328.8 MB, free: 2.703 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.09665, allocations: 0 / 328.8 MB, free: 2.703 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.0003557/0.09701, allocations: 343.7 kB / 329.1 MB, free: 2.316 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.09706, allocations: 16.03 kB / 329.1 MB, free: 2.301 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.09712, allocations: 38.73 kB / 329.2 MB, free: 2.254 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.09716, allocations: 4.844 kB / 329.2 MB, free: 2.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.09726, allocations: 172.3 kB / 329.3 MB, free: 2.043 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.09728, allocations: 4.312 kB / 329.3 MB, free: 2.039 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.033e-05/0.0973, allocations: 4.375 kB / 329.3 MB, free: 2.035 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.242e-05/0.09738, allocations: 38.25 kB / 329.4 MB, free: 1.992 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.0974, allocations: 3.938 kB / 329.4 MB, free: 1.988 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.09741, allocations: 0 / 329.4 MB, free: 1.988 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.706e-06/0.09742, allocations: 0 / 329.4 MB, free: 1.988 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.09745, allocations: 8 kB / 329.4 MB, free: 1.98 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003318/0.09778, allocations: 249 kB / 329.6 MB, free: 1.688 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.146e-05/0.09785, allocations: 34.44 kB / 329.7 MB, free: 1.645 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.09787, allocations: 8.922 kB / 329.7 MB, free: 1.633 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-06/0.09788, allocations: 0 / 329.7 MB, free: 1.633 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001213/0.09801, allocations: 55.41 kB / 329.7 MB, free: 1.566 MB / 270.1 MB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/0.09802, allocations: 0 / 329.7 MB, free: 1.566 MB / 270.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001497/0.09817, allocations: 61.53 kB / 329.8 MB, free: 1.5 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.09821, allocations: 55.41 kB / 329.8 MB, free: 1.434 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.16e-05/0.09829, allocations: 105.8 kB / 329.9 MB, free: 1.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.09831, allocations: 25.7 kB / 330 MB, free: 1.289 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/0.09835, allocations: 88.12 kB / 330.1 MB, free: 1.199 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.09837, allocations: 7.906 kB / 330.1 MB, free: 1.191 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.117e-05/0.09841, allocations: 17.72 kB / 330.1 MB, free: 1.168 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.0985, allocations: 314.8 kB / 330.4 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.433e-05/0.09853, allocations: 11.98 kB / 330.4 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.009e-05/0.09857, allocations: 17.72 kB / 330.4 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.289e-05/0.09862, allocations: 33.78 kB / 330.4 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.09862, allocations: 0 / 330.4 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.314e-05/0.09871, allocations: 61.67 kB / 330.5 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.09873, allocations: 7.984 kB / 330.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.09874, allocations: 0 / 330.5 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.09876, allocations: 4 kB / 330.5 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.09882, allocations: 7.938 kB / 330.5 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.09883, allocations: 0 / 330.5 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.09886, allocations: 11.84 kB / 330.5 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.72e-06/0.09887, allocations: 3.938 kB / 330.5 MB, free: 0.6758 MB / 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 6.504e-05/0.09894, allocations: 121.8 kB / 330.7 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.557e-06/0.09895, allocations: 0 / 330.7 MB, free: 0.5469 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.032e-05/0.09898, allocations: 7.891 kB / 330.7 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.09899, allocations: 4 kB / 330.7 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.099, allocations: 0 / 330.7 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.099, allocations: 0 / 330.7 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.0992, allocations: 282.9 kB / 330.9 MB, free: 204 kB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.09921, allocations: 0 / 330.9 MB, free: 204 kB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.469e-05/0.09923, allocations: 8 kB / 331 MB, free: 196 kB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.09924, allocations: 0 / 331 MB, free: 196 kB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.09925, allocations: 7.984 kB / 331 MB, free: 188 kB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.09926, allocations: 0 / 331 MB, free: 188 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.09926, allocations: 0 / 331 MB, free: 188 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.705e-05/0.09937, allocations: 147.5 kB / 331.1 MB, free: 24 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.269e-05/0.09942, allocations: 85.02 kB / 331.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.121e-05/0.09944, allocations: 0 / 331.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.975e-05/0.09948, allocations: 0 / 331.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.09951, allocations: 3.984 kB / 331.2 MB, free: 15.92 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.09952, allocations: 8 kB / 331.2 MB, free: 15.91 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.529e-05/0.09956, allocations: 87.22 kB / 331.3 MB, free: 15.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09957, allocations: 3.938 kB / 331.3 MB, free: 15.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.09982, allocations: 23.98 kB / 331.3 MB, free: 15.8 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.0006089/0.1004, allocations: 0.7692 MB / 332.1 MB, free: 15.01 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 8.964e-05/0.1005, allocations: 23.92 kB / 332.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1005, allocations: 0 / 332.1 MB, free: 14.99 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 2.396e-05/0.1006, allocations: 8 kB / 332.1 MB, free: 14.98 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.1008, allocations: 8 kB / 332.1 MB, free: 14.97 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000944/0.1017, allocations: 1.237 MB / 333.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.1019, allocations: 0.6809 MB / 334 MB, free: 12.95 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.087e-05/0.102, allocations: 15.91 kB / 334.1 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.102, allocations: 11.38 kB / 334.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.102, allocations: 0 / 334.1 MB, free: 12.92 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.1138, allocations: 1.786 MB / 335.9 MB, free: 11.1 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.114, allocations: 256.7 kB / 336.1 MB, free: 10.84 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.672/1.786, allocations: 3.938 kB / 336.1 MB, free: 10.83 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","../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches