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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 113.4 kB / 17.07 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 51.91 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2981, allocations: 49.43 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.01138/0.3095, allocations: 6.239 MB / 406.5 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005876/0.3155, allocations: 1.639 MB / 408.1 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.3176, allocations: 47.81 kB / 408.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.3188, allocations: 297.5 kB / 408.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002482/0.3213, allocations: 421.3 kB / 408.9 MB, free: 152 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.3225, allocations: 347.6 kB / 409.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003755/0.3262, allocations: 2.141 MB / 411.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004165/0.3304, allocations: 2.434 MB / 413.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.3324, allocations: 1.036 MB / 414.8 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002567/0.335, allocations: 1.218 MB / 416 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006906/0.3357, allocations: 288 kB / 416.3 MB, free: 8.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001222/0.3369, allocations: 423.7 kB / 416.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009229/0.3379, allocations: 0.7013 MB / 417.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002136/0.34, allocations: 1.233 MB / 418.6 MB, free: 6.258 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005525/0.3456, allocations: 3.635 MB / 422.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.834e-06/0.3456, allocations: 0 / 422.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.3456, allocations: 0 / 422.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001009/0.3457, allocations: 4 kB / 422.3 MB, free: 2.609 MB / 334.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.006967/0.3527, allocations: 2.532 MB / 424.8 MB, free: 12 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.3528, allocations: 8.031 kB / 424.8 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005694/0.3534, allocations: 303.7 kB / 425.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006277/0.354, allocations: 239.5 kB / 425.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002936/0.357, allocations: 1.295 MB / 426.7 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/0.3571, allocations: 152.5 kB / 426.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004159/0.3576, allocations: 207.9 kB / 427 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00644/0.364, allocations: 2.63 MB / 429.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.3641, allocations: 0 / 429.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/0.3644, allocations: 80 kB / 429.7 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.3645, allocations: 52 kB / 429.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005412/0.3699, allocations: 2.089 MB / 431.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0174/0.3874, allocations: 7.309 MB / 439.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/0.3911, allocations: 2.352 MB / 441.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.3934, allocations: 0.9358 MB / 442.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.021e-05/0.3935, allocations: 12.94 kB / 442.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.783e-05/0.3936, allocations: 51.55 kB / 442.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 6.973e-06/0.3936, allocations: 0 / 442.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.01186/0.4055, allocations: 4.208 MB / 446.7 MB, free: 9.398 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.554e-05/0.4056, allocations: 64.34 kB / 446.8 MB, free: 9.324 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/0.4074, allocations: 0.8602 MB / 447.6 MB, free: 8.457 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.4075, allocations: 45.7 kB / 447.7 MB, free: 8.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008963/0.4084, allocations: 0.8514 MB / 448.5 MB, free: 7.543 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.4089, allocations: 337.1 kB / 448.9 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004151/0.4093, allocations: 186.5 kB / 449.1 MB, free: 7.023 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.4095, allocations: 341.9 kB / 449.4 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001172/0.4107, allocations: 497.7 kB / 449.9 MB, free: 6.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001355/0.4121, allocations: 0.6811 MB / 450.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.4146, allocations: 1.197 MB / 451.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.4146, allocations: 0 / 451.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004047/0.4187, allocations: 1.632 MB / 453.4 MB, free: 2.535 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.4187, allocations: 11.98 kB / 453.4 MB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.199e-05/0.4188, allocations: 7.938 kB / 453.4 MB, free: 2.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.4203, allocations: 470.9 kB / 453.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009693/0.4213, allocations: 167.8 kB / 454 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01333/0.4347, allocations: 9.289 MB / 463.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.4357, allocations: 55.89 kB / 463.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.4359, allocations: 32 kB / 463.4 MB, free: 7.945 MB / 382.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.001695/0.4376, allocations: 0.6415 MB / 464 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/0.438, allocations: 103.3 kB / 464.1 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003702/0.4383, allocations: 142 kB / 464.3 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-05/0.4384, allocations: 12 kB / 464.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/0.4384, allocations: 0 / 464.3 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.523e-05/0.4385, allocations: 11.91 kB / 464.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008299/0.4468, allocations: 3.478 MB / 467.8 MB, free: 3.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.4468, allocations: 4 kB / 467.8 MB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000789/0.4476, allocations: 127.8 kB / 467.9 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001449/0.4491, allocations: 459.3 kB / 468.4 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.171e-05/0.4492, allocations: 23.98 kB / 468.4 MB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/0.4623, allocations: 9.211 MB / 477.6 MB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.4624, allocations: 4.031 kB / 477.6 MB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005302/0.4677, allocations: 2.305 MB / 479.9 MB, free: 6.738 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008499/0.4686, allocations: 284.4 kB / 480.2 MB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.4688, allocations: 20 kB / 480.2 MB, free: 6.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.4694, allocations: 47.89 kB / 480.2 MB, free: 6.375 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/0.4698, allocations: 88.81 kB / 480.3 MB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.699e-05/0.4698, allocations: 27.98 kB / 480.4 MB, free: 6.262 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001254/0.4711, allocations: 0.6044 MB / 481 MB, free: 5.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4711, allocations: 0 / 481 MB, free: 5.664 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002404/0.4735, allocations: 384 kB / 481.3 MB, free: 5.289 MB / 398.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.005707/0.4793, allocations: 2.904 MB / 484.2 MB, free: 2.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004057/0.4834, allocations: 1.831 MB / 486.1 MB, free: 468 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.4834, allocations: 0 / 486.1 MB, free: 468 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.4859, allocations: 1.243 MB / 487.3 MB, free: 15.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002032/0.488, allocations: 309.9 kB / 487.6 MB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02644/0.5144, allocations: 12.16 MB / 499.8 MB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002804/0.5173, allocations: 1.73 MB / 0.4898 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0009028/0.5182, allocations: 184.9 kB / 0.4899 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/0.5196, allocations: 0.6165 MB / 0.4905 GB, free: 15.84 MB / 430.1 MB Notification: Performance of SimCode: time 1.352e-06/0.5196, allocations: 0 / 0.4905 GB, free: 15.84 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/0.6233, allocations: 33.61 MB / 0.5234 GB, free: 14.6 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.55, allocations: 7.797 kB / 0.5234 GB, free: 14.59 MB / 462.1 MB (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) 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) Reference file matches