Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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.001633/0.001633, allocations: 115.6 kB / 18.45 MB, free: 4.566 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.002083/0.002083, allocations: 215.2 kB / 21.42 MB, free: 1.605 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 / 231.8 MB, free: 4.031 MB / 174.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.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.NoiseExamples.UniformNoise,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise",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.001755/0.001755, allocations: 51.92 kB / 342.3 MB, free: 10.11 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1082, allocations: 49.13 MB / 391.4 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.003145/0.1114, allocations: 1.477 MB / 392.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.1127, allocations: 0.5672 MB / 393.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.576e-05/0.1128, allocations: 0 / 393.5 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1129, allocations: 7.875 kB / 393.5 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.243e-05/0.113, allocations: 23.78 kB / 393.5 MB, free: 6.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006989/0.1137, allocations: 143.5 kB / 393.6 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.1139, allocations: 119.7 kB / 393.7 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.287e-05/0.114, allocations: 13.11 kB / 393.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.93e-05/0.114, allocations: 51.77 kB / 393.8 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.639e-05/0.1141, allocations: 59.75 kB / 393.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.1142, allocations: 12 kB / 393.9 MB, free: 6.332 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003028/0.1145, allocations: 131.8 kB / 394 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.703e-05/0.1146, allocations: 27.92 kB / 394 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.965e-05/0.1147, allocations: 63.64 kB / 394.1 MB, free: 6.113 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004764/0.1151, allocations: 211.2 kB / 394.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1151, allocations: 0 / 394.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1151, allocations: 0 / 394.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.023e-06/0.1151, allocations: 0 / 394.3 MB, free: 5.906 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009557/0.1161, allocations: 470.5 kB / 394.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.321e-05/0.1162, allocations: 8.031 kB / 394.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.383e-05/0.1163, allocations: 38.75 kB / 394.8 MB, free: 5.34 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/0.1166, allocations: 36.81 kB / 394.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.1168, allocations: 196.2 kB / 395 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.1169, allocations: 4.375 kB / 395 MB, free: 5.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1169, allocations: 8.375 kB / 395.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.1172, allocations: 135.8 kB / 395.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1172, allocations: 3.938 kB / 395.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1172, allocations: 0 / 395.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1172, allocations: 0 / 395.2 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.1174, allocations: 59.95 kB / 395.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008109/0.1182, allocations: 460.7 kB / 395.7 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.1185, allocations: 121.2 kB / 395.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.1186, allocations: 53.75 kB / 395.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1186, allocations: 7.938 kB / 395.9 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003693/0.119, allocations: 144.9 kB / 396 MB, free: 3.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.119, allocations: 0 / 396 MB, free: 3.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005581/0.1196, allocations: 237.5 kB / 396.2 MB, free: 3.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.386e-05/0.1197, allocations: 89.09 kB / 396.3 MB, free: 3.645 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1198, allocations: 175.1 kB / 396.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.1199, allocations: 45.69 kB / 396.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/0.12, allocations: 112.5 kB / 396.7 MB, free: 3.297 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.12, allocations: 39.72 kB / 396.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/0.1201, allocations: 57.92 kB / 396.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1203, allocations: 338.7 kB / 397.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.1205, allocations: 100.5 kB / 397.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002248/0.1207, allocations: 128.5 kB / 397.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.1211, allocations: 210.9 kB / 397.5 MB, free: 2.406 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1211, allocations: 4 kB / 397.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005259/0.1216, allocations: 301.2 kB / 397.8 MB, free: 2.102 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1217, allocations: 8 kB / 397.8 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1217, allocations: 3.938 kB / 397.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.1217, allocations: 0 / 397.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.1219, allocations: 31.98 kB / 397.9 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.1219, allocations: 12.05 kB / 397.9 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.1219, allocations: 11.89 kB / 397.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.56e-05/0.122, allocations: 12 kB / 397.9 MB, free: 2.023 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition2,$whenCondition1,globalSeed.seed,uniformNoise2.actualGlobalSeed,uniformNoise2.localSeed,uniformNoise1.actualGlobalSeed,uniformNoise1.localSeed,globalSeed.id_impure,uniformNoise2.r_raw,$PRE.uniformNoise2.r_raw,uniformNoise2.r,$PRE.uniformNoise2.r,uniformNoise2.state[4],$PRE.uniformNoise2.state[4],uniformNoise2.state[3],$PRE.uniformNoise2.state[3],uniformNoise2.state[2],$PRE.uniformNoise2.state[2],uniformNoise2.state[1],$PRE.uniformNoise2.state[1],uniformNoise1.r_raw,$PRE.uniformNoise1.r_raw,uniformNoise1.r,$PRE.uniformNoise1.r,uniformNoise1.state[4],$PRE.uniformNoise1.state[4],uniformNoise1.state[3],$PRE.uniformNoise1.state[3],uniformNoise1.state[2],$PRE.uniformNoise1.state[2],uniformNoise1.state[1],$PRE.uniformNoise1.state[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 2 * 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.0001893/0.1222, allocations: 145.7 kB / 398 MB, free: 1.871 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.797e-05/0.1222, allocations: 16 kB / 398.1 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.1222, allocations: 21.38 kB / 398.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1222, allocations: 4 kB / 398.1 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1222, allocations: 4 kB / 398.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.1222, allocations: 0 / 398.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002577/0.1225, allocations: 217.4 kB / 398.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1225, allocations: 0 / 398.3 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.1226, allocations: 7.984 kB / 398.3 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1226, allocations: 7.938 kB / 398.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.1226, allocations: 0 / 398.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1226, allocations: 0 / 398.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.1226, allocations: 0 / 398.3 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.123, allocations: 225.8 kB / 398.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/0.123, allocations: 92.95 kB / 398.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.1231, allocations: 15.98 kB / 398.6 MB, free: 1.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.644e-05/0.1231, allocations: 7.938 kB / 398.6 MB, free: 1.172 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.1232, allocations: 11.98 kB / 398.7 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.1232, allocations: 7.984 kB / 398.7 MB, free: 1.152 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1233, allocations: 131.4 kB / 398.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1233, allocations: 0 / 398.8 MB, free: 1.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003476/0.1237, allocations: 55.88 kB / 398.8 MB, free: 0.9688 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition2,uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4],uniformNoise2.r,uniformNoise2.r_raw,$whenCondition1,uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise1.r,uniformNoise1.r_raw) * Number of discrete states: 8 (uniformNoise1.state[1],uniformNoise1.state[2],uniformNoise1.state[3],uniformNoise1.state[4],uniformNoise2.state[1],uniformNoise2.state[2],uniformNoise2.state[3],uniformNoise2.state[4]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001354/0.125, allocations: 0.9449 MB / 399.8 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004457/0.1255, allocations: 179.8 kB / 400 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1255, allocations: 0 / 400 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.1256, allocations: 51.97 kB / 400 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.1258, allocations: 8 kB / 400 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.1286, allocations: 2.107 MB / 402.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003714/0.129, allocations: 0.7158 MB / 402.8 MB, free: 12.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.004e-05/0.129, allocations: 16.88 kB / 402.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.1291, allocations: 39.42 kB / 402.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of SimCode: time 1.252e-06/0.1291, allocations: 4 kB / 402.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.1574, allocations: 3.833 MB / 406.7 MB, free: 8.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.427, allocations: 12.42 kB / 406.8 MB, free: 8.859 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00039208 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_UniformNoise.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.UniformNoise.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: 11.22457430200302]