Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.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.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties",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.001145/0.001146, allocations: 110.5 kB / 17.73 MB, free: 5.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.0017/0.0017, allocations: 187 kB / 18.67 MB, free: 4.387 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.505/1.505, allocations: 205.1 MB / 224.5 MB, free: 12.2 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.001381/0.001381, allocations: 51.92 kB / 328 MB, free: 3.781 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 46.62 MB / 374.7 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.004773/0.1162, allocations: 1.824 MB / 376.5 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00272/0.1189, allocations: 1.275 MB / 377.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001972/0.1192, allocations: 7.938 kB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.1194, allocations: 23.73 kB / 377.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1196, allocations: 27.72 kB / 377.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1209, allocations: 315.1 kB / 378.1 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.1213, allocations: 219.5 kB / 378.3 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.1215, allocations: 72.23 kB / 378.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.1217, allocations: 95.62 kB / 378.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.1219, allocations: 111.5 kB / 378.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.941e-05/0.122, allocations: 20 kB / 378.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005866/0.1226, allocations: 295.5 kB / 378.9 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.1227, allocations: 59.81 kB / 379 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001284/0.1228, allocations: 103.4 kB / 379.1 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006878/0.1235, allocations: 402.6 kB / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1236, allocations: 0 / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1236, allocations: 4 kB / 379.5 MB, free: 204 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1236, allocations: 0 / 379.5 MB, free: 204 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.2038/0.3274, allocations: 0.5751 MB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.3275, allocations: 10.84 kB / 380.1 MB, free: 12.8 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.148e-05/0.3276, allocations: 57.61 kB / 380.1 MB, free: 12.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.3279, allocations: 40.98 kB / 380.2 MB, free: 12.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.3282, allocations: 234.2 kB / 380.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.3282, allocations: 15.81 kB / 380.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.3283, allocations: 20.47 kB / 380.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.3288, allocations: 205 kB / 380.6 MB, free: 12.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3288, allocations: 7.375 kB / 380.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.3288, allocations: 5.203 kB / 380.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3288, allocations: 2.75 kB / 380.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000461/0.3293, allocations: 152.7 kB / 380.8 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.3305, allocations: 0.577 MB / 381.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.3316, allocations: 303 kB / 381.7 MB, free: 12.19 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.3319, allocations: 118.7 kB / 381.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3319, allocations: 4.859 kB / 381.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.3324, allocations: 169.4 kB / 381.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.784e-06/0.3324, allocations: 0.5 kB / 381.9 MB, free: 12.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.001175/0.3336, allocations: 357.2 kB / 382.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.3336, allocations: 63.78 kB / 382.4 MB, free: 12.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002575/0.3339, allocations: 210.4 kB / 382.6 MB, free: 11.91 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/0.334, allocations: 44.33 kB / 382.6 MB, free: 11.88 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.111e-05/0.334, allocations: 128.1 kB / 382.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.3341, allocations: 82.95 kB / 382.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-05/0.3342, allocations: 65.56 kB / 382.9 MB, free: 11.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.3343, allocations: 339.2 kB / 383.2 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.3347, allocations: 127.5 kB / 383.3 MB, free: 11.33 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.335, allocations: 163.8 kB / 383.5 MB, free: 11.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006338/0.3357, allocations: 273 kB / 383.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3357, allocations: 1.188 kB / 383.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009132/0.3366, allocations: 376.6 kB / 384.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.3366, allocations: 8.344 kB / 384.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.3366, allocations: 5.094 kB / 384.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3367, allocations: 2.812 kB / 384.1 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003159/0.337, allocations: 66.22 kB / 384.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.337, allocations: 3.438 kB / 384.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.3372, allocations: 44.83 kB / 384.3 MB, free: 11.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.3372, allocations: 11.92 kB / 384.3 MB, free: 11.02 MB / 318.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: 17 ($whenCondition1,globalSeed.seed,noise.actualGlobalSeed,noise.localSeed,globalSeed.id_impure,noise.r_raw,$PRE.noise.r_raw,noise.r,$PRE.noise.r,noise.state[4],$PRE.noise.state[4],noise.state[3],$PRE.noise.state[3],noise.state[2],$PRE.noise.state[2],noise.state[1],$PRE.noise.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 37 * Array equations: 1 * 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.0001633/0.3374, allocations: 151.7 kB / 384.4 MB, free: 10.88 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.3375, allocations: 15.69 kB / 384.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.424e-05/0.3375, allocations: 28.12 kB / 384.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.3376, allocations: 1.094 kB / 384.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.3376, allocations: 1.188 kB / 384.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3376, allocations: 1.312 kB / 384.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.3388, allocations: 0.6463 MB / 385.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3388, allocations: 0 / 385.1 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002504/0.3391, allocations: 45.42 kB / 385.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.3391, allocations: 12.53 kB / 385.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3391, allocations: 7.406 kB / 385.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.3391, allocations: 2.016 kB / 385.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3391, allocations: 0 / 385.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3402, allocations: 483.2 kB / 385.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.3402, allocations: 101.3 kB / 385.7 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.643e-05/0.3403, allocations: 14.73 kB / 385.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.3405, allocations: 20.64 kB / 385.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.3405, allocations: 15.19 kB / 385.8 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.3406, allocations: 10.62 kB / 385.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.3407, allocations: 149.2 kB / 386 MB, free: 9.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3407, allocations: 0 / 386 MB, free: 9.965 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004785/0.3412, allocations: 107 kB / 386.1 MB, free: 9.941 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (mean.mu,variance.mu,variance.var,standardDeviation.variance.mu,standardDeviation.variance.var) * Number of discrete variables: 7 ($whenCondition1,noise.state[1],noise.state[2],noise.state[3],noise.state[4],noise.r,noise.r_raw) * Number of discrete states: 4 (noise.state[1],noise.state[2],noise.state[3],noise.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001837/0.343, allocations: 1.191 MB / 387.2 MB, free: 9.117 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008332/0.3439, allocations: 286.7 kB / 387.5 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3439, allocations: 0.5469 kB / 387.5 MB, free: 9.043 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.3442, allocations: 122.8 kB / 387.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3446, allocations: 29.48 kB / 387.7 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004069/0.3487, allocations: 2.831 MB / 390.5 MB, free: 7.23 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002215/0.3489, allocations: 0.7397 MB / 391.2 MB, free: 6.531 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.349, allocations: 33.47 kB / 391.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.3492, allocations: 72.81 kB / 391.4 MB, free: 6.473 MB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3492, allocations: 0 / 391.4 MB, free: 6.473 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.378, allocations: 6.191 MB / 397.5 MB, free: 4.863 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.005/8.383, allocations: 9.312 kB / 397.6 MB, free: 4.855 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-09 --interface-type ModelExchange --solver CVode --output-interval 0.004 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/NormalNoiseProperties/NormalNoiseProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches