Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.001868/0.001868, allocations: 119 kB / 17.78 MB, free: 5.25 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.002025/0.002025, allocations: 193.2 kB / 20.73 MB, free: 2.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 225.6 MB / 249.1 MB, free: 3.594 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001545/0.001545, allocations: 51.92 kB / 365.6 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1131, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008293/0.1214, allocations: 6.26 MB / 424 MB, free: 6.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.1251, allocations: 1.655 MB / 425.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007013/0.1258, allocations: 55.69 kB / 425.7 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.1265, allocations: 305.5 kB / 426 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.1278, allocations: 437.1 kB / 426.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006949/0.1285, allocations: 339.6 kB / 426.8 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.1308, allocations: 2.133 MB / 428.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00224/0.1331, allocations: 1.801 MB / 430.7 MB, free: 15.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.1344, allocations: 1.048 MB / 431.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.1362, allocations: 1.237 MB / 433 MB, free: 13.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004222/0.1366, allocations: 288 kB / 433.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008375/0.1375, allocations: 451.7 kB / 433.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007222/0.1382, allocations: 0.7051 MB / 434.4 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.1396, allocations: 1.233 MB / 435.7 MB, free: 10.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003896/0.1435, allocations: 3.64 MB / 439.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1435, allocations: 0 / 439.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1435, allocations: 0 / 439.3 MB, free: 6.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.13e-05/0.1436, allocations: 0 / 439.3 MB, free: 6.91 MB / 366.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.004891/0.1485, allocations: 2.528 MB / 441.8 MB, free: 4.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.1485, allocations: 8.031 kB / 441.9 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004249/0.1489, allocations: 303.7 kB / 442.2 MB, free: 4 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005241/0.1495, allocations: 235.5 kB / 442.4 MB, free: 3.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002213/0.1517, allocations: 1.291 MB / 443.7 MB, free: 2.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.1518, allocations: 156.5 kB / 443.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003184/0.1521, allocations: 207.9 kB / 444 MB, free: 2.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2155/0.3676, allocations: 2.609 MB / 446.6 MB, free: 27.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.3677, allocations: 1.656 kB / 446.6 MB, free: 27.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.3678, allocations: 82.56 kB / 446.7 MB, free: 27.84 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.143e-05/0.3679, allocations: 56.23 kB / 446.8 MB, free: 27.84 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003205/0.3711, allocations: 2.083 MB / 448.9 MB, free: 27.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.3815, allocations: 7.31 MB / 456.2 MB, free: 24.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.3834, allocations: 2.281 MB / 458.5 MB, free: 23.08 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.3849, allocations: 0.8909 MB / 459.3 MB, free: 22.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.353e-05/0.3849, allocations: 11.88 kB / 459.4 MB, free: 22.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.385, allocations: 47.62 kB / 459.4 MB, free: 22.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.577e-06/0.385, allocations: 0 / 459.4 MB, free: 22.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007488/0.3925, allocations: 4.195 MB / 463.6 MB, free: 20.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.37e-05/0.3925, allocations: 65.84 kB / 463.7 MB, free: 20.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3936, allocations: 0.8549 MB / 464.5 MB, free: 20.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.977e-05/0.3936, allocations: 43.03 kB / 464.6 MB, free: 20.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003821/0.394, allocations: 0.856 MB / 465.4 MB, free: 19.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001828/0.3942, allocations: 347.3 kB / 465.8 MB, free: 19.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.3944, allocations: 172.6 kB / 465.9 MB, free: 19.48 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.252e-05/0.3945, allocations: 348 kB / 466.3 MB, free: 19.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006746/0.3952, allocations: 495.8 kB / 466.7 MB, free: 19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00076/0.3959, allocations: 0.6766 MB / 467.4 MB, free: 18.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.3974, allocations: 1.2 MB / 468.6 MB, free: 17.87 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3974, allocations: 5.438 kB / 468.6 MB, free: 17.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002381/0.3998, allocations: 1.615 MB / 470.2 MB, free: 17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.3998, allocations: 15.94 kB / 470.3 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.3998, allocations: 5.219 kB / 470.3 MB, free: 16.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/0.4009, allocations: 462.4 kB / 470.7 MB, free: 16.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.4015, allocations: 181.7 kB / 470.9 MB, free: 16.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006825/0.4083, allocations: 9.303 MB / 480.2 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006846/0.409, allocations: 44.58 kB / 480.2 MB, free: 8.465 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.916e-05/0.4091, allocations: 35.5 kB / 480.3 MB, free: 8.457 MB / 366.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.0009073/0.41, allocations: 0.6378 MB / 480.9 MB, free: 8.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.4102, allocations: 109.5 kB / 481 MB, free: 7.969 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.4104, allocations: 132.3 kB / 481.1 MB, free: 7.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/0.4105, allocations: 14.94 kB / 481.2 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.4105, allocations: 5.219 kB / 481.2 MB, free: 7.859 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.4105, allocations: 5.203 kB / 481.2 MB, free: 7.855 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004787/0.4153, allocations: 3.464 MB / 484.6 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.4153, allocations: 0 / 484.6 MB, free: 5.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005204/0.4158, allocations: 126.5 kB / 484.8 MB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.4166, allocations: 454.1 kB / 485.2 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.4167, allocations: 19.94 kB / 485.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007113/0.4238, allocations: 9.223 MB / 494.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4238, allocations: 3.984 kB / 494.5 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003723/0.4275, allocations: 2.294 MB / 496.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005599/0.4281, allocations: 280.4 kB / 497 MB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.4282, allocations: 23.98 kB / 497 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004523/0.4286, allocations: 49.31 kB / 497.1 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/0.4289, allocations: 84.88 kB / 497.2 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/0.4289, allocations: 24 kB / 497.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008482/0.4298, allocations: 0.6083 MB / 497.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4298, allocations: 4 kB / 497.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001634/0.4314, allocations: 379.9 kB / 498.2 MB, free: 9.75 MB / 382.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.004056/0.4355, allocations: 2.896 MB / 0.4893 GB, free: 6.809 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002993/0.4385, allocations: 1.785 MB / 0.4911 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4385, allocations: 0 / 0.4911 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.4403, allocations: 1.204 MB / 0.4923 GB, free: 3.723 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.4417, allocations: 307.9 kB / 0.4925 GB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01857/0.4603, allocations: 12.13 MB / 0.5044 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001531/0.4618, allocations: 1.714 MB / 0.5061 GB, free: 5.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005382/0.4623, allocations: 197 kB / 0.5063 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007845/0.4631, allocations: 0.6164 MB / 0.5069 GB, free: 4.48 MB / 398.1 MB Notification: Performance of SimCode: time 1.483e-06/0.4631, allocations: 8 kB / 0.5069 GB, free: 4.473 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08367/0.5468, allocations: 33.8 MB / 0.5399 GB, free: 3.004 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.53, allocations: 15.92 kB / 0.5399 GB, free: 2.988 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 17.497954391874373]