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.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.001763/0.001763, 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.001942/0.001942, 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.501/1.501, allocations: 207.6 MB / 231.8 MB, free: 4.008 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.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"}) [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.002663/0.002663, allocations: 55.92 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1207, allocations: 49.13 MB / 391.4 MB, free: 8.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator): time 0.002529/0.1233, allocations: 1.318 MB / 392.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007786/0.1241, allocations: 373.9 kB / 393.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.866e-05/0.1241, allocations: 0 / 393.1 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.1241, allocations: 3.938 kB / 393.1 MB, free: 7 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.514e-05/0.1242, allocations: 7.938 kB / 393.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.1246, allocations: 79.72 kB / 393.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 6.839e-05/0.1247, allocations: 15.98 kB / 393.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.1247, allocations: 4 kB / 393.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.301e-05/0.1247, allocations: 4 kB / 393.2 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.669e-05/0.1248, allocations: 15.91 kB / 393.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.828e-06/0.1248, allocations: 0 / 393.2 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001896/0.125, allocations: 95.83 kB / 393.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.125, allocations: 4 kB / 393.3 MB, free: 6.777 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.676e-05/0.125, allocations: 11.94 kB / 393.3 MB, free: 6.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.1252, allocations: 87.69 kB / 393.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1252, allocations: 0 / 393.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1252, allocations: 0 / 393.4 MB, free: 6.68 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1252, allocations: 0 / 393.4 MB, free: 6.68 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000449/0.1256, allocations: 355.3 kB / 393.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1257, allocations: 8.031 kB / 393.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.195e-05/0.1257, allocations: 42.62 kB / 393.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.767e-05/0.1258, allocations: 4.938 kB / 393.8 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.1259, allocations: 168.3 kB / 394 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1259, allocations: 384 / 394 MB, free: 6.016 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1259, allocations: 4.375 kB / 394 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.386e-05/0.126, allocations: 42.23 kB / 394 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.126, allocations: 3.938 kB / 394 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.126, allocations: 0 / 394 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.126, allocations: 0 / 394 MB, free: 5.961 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.384e-05/0.1261, allocations: 7.984 kB / 394 MB, free: 5.953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.1264, allocations: 252.9 kB / 394.3 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.58e-05/0.1265, allocations: 30.5 kB / 394.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.1265, allocations: 8.922 kB / 394.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.1265, allocations: 0 / 394.3 MB, free: 5.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.1267, allocations: 51.41 kB / 394.4 MB, free: 5.543 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1267, allocations: 3.938 kB / 394.4 MB, free: 5.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001874/0.1269, allocations: 65.62 kB / 394.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.1269, allocations: 55.34 kB / 394.5 MB, free: 5.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.262e-05/0.127, allocations: 105.8 kB / 394.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.127, allocations: 25.7 kB / 394.6 MB, free: 5.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.703e-05/0.1271, allocations: 92.08 kB / 394.7 MB, free: 5.164 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.1271, allocations: 3.953 kB / 394.7 MB, free: 5.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.1271, allocations: 17.72 kB / 394.7 MB, free: 5.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.1273, allocations: 318.8 kB / 395.1 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.703e-05/0.1273, allocations: 12 kB / 395.1 MB, free: 4.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.1273, allocations: 14.09 kB / 395.1 MB, free: 4.785 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.576e-05/0.1274, allocations: 41.58 kB / 395.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1274, allocations: 0 / 395.1 MB, free: 4.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.867e-05/0.1275, allocations: 61.62 kB / 395.2 MB, free: 4.672 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1275, allocations: 4 kB / 395.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1275, allocations: 0 / 395.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1275, allocations: 4.031 kB / 395.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.934e-05/0.1276, allocations: 8 kB / 395.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.1276, allocations: 0 / 395.2 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.1276, allocations: 3.953 kB / 395.2 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1276, allocations: 4 kB / 395.2 MB, free: 4.648 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: 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 9.042e-05/0.1277, allocations: 117.8 kB / 395.3 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.07e-05/0.1277, allocations: 4 kB / 395.3 MB, free: 4.52 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.309e-05/0.1277, allocations: 3.906 kB / 395.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1277, allocations: 0 / 395.3 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1277, allocations: 4 kB / 395.3 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1277, allocations: 4 kB / 395.3 MB, free: 4.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002605/0.128, allocations: 286.7 kB / 395.6 MB, free: 4.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.128, allocations: 3.984 kB / 395.6 MB, free: 4.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.488e-05/0.128, allocations: 4.047 kB / 395.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.128, allocations: 3.984 kB / 395.6 MB, free: 4.156 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.128, allocations: 3.938 kB / 395.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.128, allocations: 0 / 395.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.128, allocations: 0 / 395.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.1282, allocations: 155.4 kB / 395.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.1282, allocations: 81.06 kB / 395.9 MB, free: 3.887 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.1282, allocations: 4 kB / 395.9 MB, free: 3.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.238e-05/0.1283, allocations: 3.984 kB / 395.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.1283, allocations: 0 / 395.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.095e-05/0.1283, allocations: 0 / 395.9 MB, free: 3.879 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.133e-05/0.1284, allocations: 91.22 kB / 396 MB, free: 3.789 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1284, allocations: 0 / 396 MB, free: 3.789 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1286, allocations: 31.92 kB / 396 MB, free: 3.758 MB / 318.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.0008068/0.1294, allocations: 0.7746 MB / 396.8 MB, free: 2.957 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00011/0.1295, allocations: 27.92 kB / 396.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1295, allocations: 0 / 396.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.368e-05/0.1296, allocations: 4 kB / 396.8 MB, free: 2.926 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.1298, allocations: 3.984 kB / 396.8 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.131, allocations: 1.239 MB / 398 MB, free: 1.598 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002853/0.1312, allocations: 0.6806 MB / 398.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.03e-05/0.1313, allocations: 7.984 kB / 398.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.968e-05/0.1313, allocations: 11.44 kB / 398.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1313, allocations: 0 / 398.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02477/0.1561, allocations: 1.954 MB / 400.7 MB, free: 14.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.854/8.01, allocations: 11.8 kB / 400.7 MB, free: 14.86 MB / 334.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000384541 Modelica_3_2_3_Modelica_Blocks_Examples_NoiseExamples_ImpureGenerator.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/NoiseExamples/ImpureGenerator/ImpureGenerator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.NoiseExamples.ImpureGenerator.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.594479134000721]