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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 207.6 MB / 235.2 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002611/0.002611, allocations: 57.33 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.343, allocations: 49.16 MB / 396.4 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties): time 0.003143/0.3462, allocations: 1.847 MB / 398.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3483, allocations: 1.312 MB / 399.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.3484, allocations: 2.5 kB / 399.5 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001305/0.3485, allocations: 19.17 kB / 399.5 MB, free: 6.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.3486, allocations: 25.92 kB / 399.6 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3496, allocations: 330.7 kB / 399.9 MB, free: 6.652 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002862/0.3499, allocations: 214.2 kB / 400.1 MB, free: 6.559 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3501, allocations: 58.41 kB / 400.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001746/0.3503, allocations: 99.45 kB / 400.3 MB, free: 6.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3505, allocations: 118.5 kB / 400.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.3505, allocations: 21.06 kB / 400.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006624/0.3512, allocations: 347.5 kB / 400.7 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.072e-05/0.3512, allocations: 60.75 kB / 400.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.3513, allocations: 101 kB / 400.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007153/0.3521, allocations: 400.1 kB / 401.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.299e-06/0.3521, allocations: 0.7969 kB / 401.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3521, allocations: 0 / 401.3 MB, free: 6.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.3521, allocations: 0 / 401.3 MB, free: 6.047 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001156/0.3532, allocations: 0.507 MB / 401.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.3533, allocations: 15.17 kB / 401.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.039e-05/0.3534, allocations: 56.12 kB / 401.9 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002358/0.3536, allocations: 34.88 kB / 401.9 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002366/0.3538, allocations: 188.9 kB / 402.1 MB, free: 5.414 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.551e-05/0.3539, allocations: 16.28 kB / 402.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.3539, allocations: 18.42 kB / 402.1 MB, free: 5.402 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004676/0.3544, allocations: 214.1 kB / 402.3 MB, free: 5.312 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3544, allocations: 3.938 kB / 402.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.3544, allocations: 5.031 kB / 402.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.3544, allocations: 4.594 kB / 402.3 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004184/0.3548, allocations: 149.7 kB / 402.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009636/0.3558, allocations: 0.5424 MB / 403 MB, free: 4.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.3567, allocations: 304.2 kB / 403.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.357, allocations: 111.4 kB / 403.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.357, allocations: 1.094 kB / 403.4 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003918/0.3574, allocations: 171.5 kB / 403.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.3574, allocations: 0 / 403.6 MB, free: 4.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009766/0.3584, allocations: 360.9 kB / 403.9 MB, free: 4.586 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3585, allocations: 59.89 kB / 404 MB, free: 4.523 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.3586, allocations: 209.5 kB / 404.2 MB, free: 4.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.3587, allocations: 42.44 kB / 404.2 MB, free: 4.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.293e-05/0.3588, allocations: 127.5 kB / 404.4 MB, free: 4.23 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.671e-05/0.3588, allocations: 75.66 kB / 404.4 MB, free: 4.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/0.3589, allocations: 76.89 kB / 404.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.88e-05/0.359, allocations: 335.1 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003331/0.3593, allocations: 128.8 kB / 405 MB, free: 3.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.3597, allocations: 168.2 kB / 405.1 MB, free: 3.707 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.3602, allocations: 268.5 kB / 405.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3602, allocations: 0 / 405.4 MB, free: 3.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007655/0.361, allocations: 383.3 kB / 405.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.361, allocations: 5.5 kB / 405.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.361, allocations: 0 / 405.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3611, allocations: 3.453 kB / 405.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003105/0.3614, allocations: 73.78 kB / 405.9 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.3614, allocations: 7.344 kB / 405.9 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000175/0.3616, allocations: 41.2 kB / 405.9 MB, free: 3.434 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.3616, allocations: 8.891 kB / 405.9 MB, free: 3.434 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.0001167/0.3617, allocations: 149 kB / 406.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.304e-05/0.3617, allocations: 20.91 kB / 406.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.987e-05/0.3618, allocations: 24.67 kB / 406.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3618, allocations: 6.734 kB / 406.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.3618, allocations: 0 / 406.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3618, allocations: 1.453 kB / 406.1 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.3628, allocations: 0.6084 MB / 406.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.3628, allocations: 1.953 kB / 406.7 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000239/0.3631, allocations: 41.05 kB / 406.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3631, allocations: 1 kB / 406.8 MB, free: 2.879 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/0.3631, allocations: 7.734 kB / 406.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3631, allocations: 0.9062 kB / 406.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3631, allocations: 1.859 kB / 406.8 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.364, allocations: 496.6 kB / 407.3 MB, free: 2.633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.105e-05/0.364, allocations: 23.48 kB / 407.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.3641, allocations: 9.75 kB / 407.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.3642, allocations: 16.22 kB / 407.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.245e-05/0.3643, allocations: 16.28 kB / 407.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.3643, allocations: 7.594 kB / 407.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001169/0.3644, allocations: 148.9 kB / 407.5 MB, free: 2.512 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3644, allocations: 4 kB / 407.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0005116/0.3649, allocations: 111.2 kB / 407.6 MB, free: 2.477 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.001811/0.3667, allocations: 1.199 MB / 408.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007363/0.3675, allocations: 270.4 kB / 409 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3675, allocations: 1.438 kB / 409.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003304/0.3678, allocations: 106.9 kB / 409.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.3682, allocations: 30.08 kB / 409.2 MB, free: 1.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.3723, allocations: 2.82 MB / 412 MB, free: 15.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.3728, allocations: 0.7397 MB / 412.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.3729, allocations: 36.75 kB / 412.8 MB, free: 14.86 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001592/0.3731, allocations: 71.44 kB / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3731, allocations: 4.938 kB / 412.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04246/0.4155, allocations: 6.461 MB / 419.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.96, allocations: 5.094 kB / 419.3 MB, free: 11.33 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties_fmu --startTime=0 --stopTime=20 --stepSize=0.004 --timeout=50 --tolerance=1e-09 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_NormalNoiseProperties.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.NormalNoiseProperties_res.mat","/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.026462588924915]