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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001869/0.001869, allocations: 114.3 kB / 18.4 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002127/0.002127, allocations: 190.9 kB / 21.34 MB, free: 1.738 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.655/1.655, allocations: 205.1 MB / 229.2 MB, free: 4.375 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.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.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.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.001793/0.001793, allocations: 55.34 kB / 334.7 MB, free: 14.69 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1087, allocations: 46.62 MB / 381.3 MB, free: 0.9648 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.UniformNoise): time 0.002717/0.1115, allocations: 1.481 MB / 382.8 MB, free: 15.47 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.1128, allocations: 0.5594 MB / 383.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.335e-05/0.1129, allocations: 0 / 383.4 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001115/0.113, allocations: 7.875 kB / 383.4 MB, free: 14.9 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.46e-05/0.1131, allocations: 15.8 kB / 383.4 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005897/0.1137, allocations: 151.6 kB / 383.6 MB, free: 14.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1139, allocations: 123.6 kB / 383.7 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.618e-05/0.1139, allocations: 20.8 kB / 383.7 MB, free: 14.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.276e-05/0.114, allocations: 43.84 kB / 383.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.907e-05/0.1141, allocations: 59.75 kB / 383.8 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.66e-05/0.1141, allocations: 12 kB / 383.8 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002498/0.1143, allocations: 123.8 kB / 383.9 MB, free: 14.36 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.877e-05/0.1144, allocations: 27.92 kB / 384 MB, free: 14.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.31e-05/0.1145, allocations: 55.66 kB / 384 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.1148, allocations: 211.3 kB / 384.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1148, allocations: 3.938 kB / 384.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1149, allocations: 4 kB / 384.2 MB, free: 14.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1149, allocations: 0 / 384.2 MB, free: 14.07 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.0007018/0.1156, allocations: 466.4 kB / 384.7 MB, free: 13.56 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1156, allocations: 16.02 kB / 384.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.522e-05/0.1157, allocations: 34.75 kB / 384.7 MB, free: 13.5 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003127/0.116, allocations: 40.81 kB / 384.8 MB, free: 13.46 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.1162, allocations: 200.2 kB / 385 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.236e-05/0.1163, allocations: 384 / 385 MB, free: 13.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.1163, allocations: 12.38 kB / 385 MB, free: 13.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002515/0.1166, allocations: 115.9 kB / 385.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1166, allocations: 7.922 kB / 385.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/0.1166, allocations: 4 kB / 385.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1166, allocations: 0 / 385.1 MB, free: 13.08 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.1168, allocations: 55.97 kB / 385.2 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.1175, allocations: 468.7 kB / 385.6 MB, free: 12.51 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.1179, allocations: 125.2 kB / 385.7 MB, free: 12.37 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.118, allocations: 53.75 kB / 385.8 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.118, allocations: 7.938 kB / 385.8 MB, free: 12.3 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003255/0.1183, allocations: 137.1 kB / 385.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.402e-06/0.1184, allocations: 0 / 385.9 MB, free: 12.15 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0005578/0.1189, allocations: 237.5 kB / 386.2 MB, free: 11.91 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.119, allocations: 89.11 kB / 386.2 MB, free: 11.81 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1192, allocations: 183 kB / 386.4 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.1192, allocations: 45.69 kB / 386.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.578e-05/0.1193, allocations: 112.5 kB / 386.6 MB, free: 11.45 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.608e-05/0.1194, allocations: 39.72 kB / 386.6 MB, free: 11.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-05/0.1195, allocations: 53.94 kB / 386.7 MB, free: 11.35 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1197, allocations: 334.8 kB / 387 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.1199, allocations: 96.47 kB / 387.1 MB, free: 10.92 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.1201, allocations: 140.4 kB / 387.2 MB, free: 10.78 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.1205, allocations: 210.9 kB / 387.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1205, allocations: 0 / 387.4 MB, free: 10.56 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004982/0.121, allocations: 305.2 kB / 387.7 MB, free: 10.26 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.121, allocations: 8.062 kB / 387.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.121, allocations: 4 kB / 387.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.121, allocations: 0 / 387.7 MB, free: 10.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.1212, allocations: 27.92 kB / 387.8 MB, free: 10.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1212, allocations: 4.469 kB / 387.8 MB, free: 10.21 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.1213, allocations: 19.88 kB / 387.8 MB, free: 10.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.1213, allocations: 8 kB / 387.8 MB, free: 10.19 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.0001538/0.1215, allocations: 157.8 kB / 388 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.1215, allocations: 15.91 kB / 388 MB, free: 10.01 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.1216, allocations: 9.406 kB / 388 MB, free: 9.996 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.1216, allocations: 4 kB / 388 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.1216, allocations: 0 / 388 MB, free: 9.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1216, allocations: 3.984 kB / 388 MB, free: 9.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.1218, allocations: 217.4 kB / 388.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1218, allocations: 0 / 388.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-05/0.1219, allocations: 4 kB / 388.2 MB, free: 9.723 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.1219, allocations: 7.984 kB / 388.2 MB, free: 9.715 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.1219, allocations: 4 kB / 388.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1219, allocations: 0 / 388.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.1219, allocations: 0 / 388.2 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.1223, allocations: 233.6 kB / 388.4 MB, free: 9.461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.496e-05/0.1224, allocations: 96.95 kB / 388.5 MB, free: 9.348 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.1224, allocations: 11.98 kB / 388.6 MB, free: 9.336 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.416e-05/0.1225, allocations: 8 kB / 388.6 MB, free: 9.328 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.1225, allocations: 15.92 kB / 388.6 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1225, allocations: 4 kB / 388.6 MB, free: 9.309 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001091/0.1227, allocations: 127.5 kB / 388.7 MB, free: 9.184 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1227, allocations: 0 / 388.7 MB, free: 9.184 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.123, allocations: 55.86 kB / 388.8 MB, free: 9.129 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.00125/0.1242, allocations: 0.9558 MB / 389.7 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.1247, allocations: 187.8 kB / 389.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1247, allocations: 0 / 389.9 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.1248, allocations: 60.05 kB / 390 MB, free: 7.898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001818/0.125, allocations: 19.98 kB / 390 MB, free: 7.879 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002578/0.1276, allocations: 2.103 MB / 392.1 MB, free: 5.676 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003296/0.128, allocations: 0.7119 MB / 392.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.789e-05/0.128, allocations: 21.02 kB / 392.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.654e-05/0.1281, allocations: 39.42 kB / 392.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1281, allocations: 0 / 392.9 MB, free: 4.875 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.1545, allocations: 3.804 MB / 396.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.998/8.152, allocations: 4.406 kB / 396.7 MB, free: 1.016 MB / 318.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/UniformNoise/UniformNoise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.911119021940976]