Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001349/0.001349, allocations: 116 kB / 20.43 MB, free: 1.449 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.001437/0.001437, allocations: 212.5 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 47.92 kB / 377.8 MB, free: 3.125 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2627, allocations: 53.36 MB / 431.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008255/0.2709, allocations: 6.311 MB / 437.4 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.2748, allocations: 1.706 MB / 439.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009607/0.2758, allocations: 59.62 kB / 439.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.2765, allocations: 305.5 kB / 439.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.2781, allocations: 441.2 kB / 439.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008064/0.2789, allocations: 359.5 kB / 440.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002748/0.2817, allocations: 2.145 MB / 442.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002226/0.2839, allocations: 1.4 MB / 443.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.2857, allocations: 1.055 MB / 444.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.2874, allocations: 1.237 MB / 446.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003506/0.2878, allocations: 292 kB / 446.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007573/0.2885, allocations: 475.6 kB / 446.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006194/0.2892, allocations: 0.7051 MB / 447.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.2905, allocations: 1.241 MB / 448.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.2943, allocations: 3.635 MB / 452.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2943, allocations: 0 / 452.5 MB, free: 1.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2943, allocations: 4 kB / 452.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.318e-05/0.2944, allocations: 0 / 452.5 MB, free: 1.387 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.004746/0.2991, allocations: 2.46 MB / 454.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.2992, allocations: 8.031 kB / 454.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003826/0.2995, allocations: 303.7 kB / 455.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006792/0.3002, allocations: 275.4 kB / 455.5 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002482/0.3027, allocations: 1.247 MB / 456.7 MB, free: 13.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.3028, allocations: 156.5 kB / 456.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003487/0.3032, allocations: 211.9 kB / 457.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005137/0.3083, allocations: 2.618 MB / 459.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.839e-05/0.3084, allocations: 0 / 459.7 MB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001966/0.3086, allocations: 83.98 kB / 459.8 MB, free: 9.859 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.164e-05/0.3086, allocations: 56 kB / 459.9 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004159/0.3128, allocations: 2.089 MB / 461.9 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.3258, allocations: 7.204 MB / 469.2 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002129/0.328, allocations: 1.301 MB / 470.5 MB, free: 15.03 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001554/0.3295, allocations: 0.8972 MB / 471.4 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.334e-05/0.3296, allocations: 16.94 kB / 471.4 MB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/0.3296, allocations: 47.5 kB / 471.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.897e-06/0.3296, allocations: 0 / 471.4 MB, free: 14.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.00823/0.3378, allocations: 3.887 MB / 475.3 MB, free: 10.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/0.3379, allocations: 68.34 kB / 475.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.3392, allocations: 0.8681 MB / 476.2 MB, free: 9.168 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.3392, allocations: 41.7 kB / 476.3 MB, free: 9.121 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006251/0.3398, allocations: 0.8553 MB / 477.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002894/0.3401, allocations: 345.1 kB / 477.5 MB, free: 7.914 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002822/0.3404, allocations: 178.6 kB / 477.6 MB, free: 7.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3406, allocations: 349.9 kB / 478 MB, free: 7.383 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007759/0.3414, allocations: 493.7 kB / 478.5 MB, free: 6.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009462/0.3423, allocations: 0.6694 MB / 479.1 MB, free: 6.168 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/0.3441, allocations: 1.205 MB / 480.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3441, allocations: 0 / 480.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002711/0.3468, allocations: 1.617 MB / 482 MB, free: 3.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.3468, allocations: 8 kB / 482 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/0.3468, allocations: 7.938 kB / 482 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.3479, allocations: 478.9 kB / 482.4 MB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006732/0.3486, allocations: 167.8 kB / 482.6 MB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009632/0.3582, allocations: 8.875 MB / 491.5 MB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007114/0.359, allocations: 52.02 kB / 491.5 MB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.359, allocations: 40 kB / 491.6 MB, free: 9.176 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001137/0.3602, allocations: 0.638 MB / 492.2 MB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.3604, allocations: 111.3 kB / 492.3 MB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.3607, allocations: 134.1 kB / 492.4 MB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.124e-05/0.3607, allocations: 12 kB / 492.5 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.3607, allocations: 0 / 492.5 MB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3607, allocations: 15.84 kB / 492.5 MB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00607/0.3668, allocations: 3.453 MB / 495.9 MB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.3668, allocations: 0 / 495.9 MB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005666/0.3674, allocations: 131.8 kB / 496.1 MB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009938/0.3684, allocations: 455.3 kB / 496.5 MB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.872e-05/0.3684, allocations: 16 kB / 496.5 MB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00932/0.3777, allocations: 8.782 MB / 0.4935 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3777, allocations: 4.031 kB / 0.4935 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00389/0.3816, allocations: 2.305 MB / 0.4957 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005906/0.3822, allocations: 207.2 kB / 0.4959 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.3824, allocations: 20.12 kB / 0.4959 GB, free: 8.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004334/0.3828, allocations: 47.89 kB / 0.496 GB, free: 8.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/0.383, allocations: 92.77 kB / 0.4961 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.3831, allocations: 24 kB / 0.4961 GB, free: 8.156 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008924/0.384, allocations: 0.6161 MB / 0.4967 GB, free: 7.547 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.384, allocations: 0 / 0.4967 GB, free: 7.547 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001547/0.3855, allocations: 391.9 kB / 0.4971 GB, free: 7.164 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004142/0.3897, allocations: 2.892 MB / 0.4999 GB, free: 4.234 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003009/0.3927, allocations: 1.78 MB / 0.5016 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3927, allocations: 0 / 0.5016 GB, free: 2.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.3945, allocations: 1.208 MB / 0.5028 GB, free: 1.141 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.3959, allocations: 303.2 kB / 0.5031 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/0.4166, allocations: 12.2 MB / 0.515 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.4184, allocations: 1.718 MB / 0.5167 GB, free: 2.602 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006153/0.419, allocations: 192.9 kB / 0.5169 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008212/0.4199, allocations: 0.6203 MB / 0.5175 GB, free: 1.789 MB / 430.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4199, allocations: 0 / 0.5175 GB, free: 1.789 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3257/0.7456, allocations: 34.71 MB / 0.5514 GB, free: 96.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/15.71, allocations: 12.89 kB / 0.5514 GB, free: 96.9 MB / 446.1 MB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1e-05 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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: 18.75928611299969]