Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.Rectifier,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001683/0.001682, allocations: 121.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002468/0.002469, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.2851, allocations: 50.53 MB / 408.7 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007509/0.2926, allocations: 6.249 MB / 415 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.2964, allocations: 1.698 MB / 416.7 MB, free: 9.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006661/0.2971, allocations: 51.81 kB / 416.7 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.2977, allocations: 297.6 kB / 417 MB, free: 9.215 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.2989, allocations: 433.2 kB / 417.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006572/0.2996, allocations: 351.5 kB / 417.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001909/0.3015, allocations: 2.141 MB / 419.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.3042, allocations: 2.441 MB / 422.4 MB, free: 3.789 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.3057, allocations: 1.04 MB / 423.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001597/0.3073, allocations: 1.218 MB / 424.6 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003426/0.3076, allocations: 288 kB / 424.9 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006556/0.3083, allocations: 407.8 kB / 425.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005732/0.3089, allocations: 0.7051 MB / 426 MB, free: 140 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.3102, allocations: 1.237 MB / 427.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003424/0.3137, allocations: 3.639 MB / 430.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3137, allocations: 0 / 430.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3137, allocations: 0 / 430.9 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.062e-05/0.3137, allocations: 0 / 430.9 MB, free: 11.24 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.004512/0.3183, allocations: 2.54 MB / 433.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.3183, allocations: 8.031 kB / 433.4 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003275/0.3186, allocations: 299.7 kB / 433.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006406/0.3193, allocations: 267.4 kB / 434 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001913/0.3212, allocations: 1.315 MB / 435.3 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.3213, allocations: 156.5 kB / 435.5 MB, free: 6.543 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000281/0.3216, allocations: 211.9 kB / 435.7 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00387/0.3255, allocations: 2.618 MB / 438.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.688e-05/0.3256, allocations: 0 / 438.3 MB, free: 3.629 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001641/0.3257, allocations: 88 kB / 438.4 MB, free: 3.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/0.3258, allocations: 52 kB / 438.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003161/0.329, allocations: 2.089 MB / 440.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009754/0.3387, allocations: 7.305 MB / 447.8 MB, free: 9.902 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.3409, allocations: 2.344 MB / 450.2 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.3423, allocations: 0.9512 MB / 451.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-05/0.3424, allocations: 9 kB / 451.1 MB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3424, allocations: 47.5 kB / 451.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 5.219e-06/0.3424, allocations: 0 / 451.2 MB, free: 6.309 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007445/0.3499, allocations: 4.215 MB / 455.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.35, allocations: 64.34 kB / 455.5 MB, free: 1.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001046/0.351, allocations: 0.872 MB / 456.3 MB, free: 1.012 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.3511, allocations: 41.7 kB / 456.4 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.3516, allocations: 0.8475 MB / 457.2 MB, free: 108 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000241/0.3518, allocations: 341.2 kB / 457.5 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002535/0.3521, allocations: 182.6 kB / 457.7 MB, free: 15.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3522, allocations: 345.9 kB / 458.1 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000714/0.3529, allocations: 0.4899 MB / 458.6 MB, free: 14.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008242/0.3538, allocations: 0.6694 MB / 459.2 MB, free: 14.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.3554, allocations: 1.197 MB / 460.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3554, allocations: 4 kB / 460.4 MB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002438/0.3578, allocations: 1.628 MB / 462.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.3578, allocations: 8 kB / 462.1 MB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.653e-05/0.3579, allocations: 11.94 kB / 462.1 MB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3589, allocations: 474.9 kB / 462.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006377/0.3595, allocations: 167.8 kB / 462.7 MB, free: 10.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008317/0.3679, allocations: 9.294 MB / 472 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006352/0.3685, allocations: 51.89 kB / 472 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.3686, allocations: 39.94 kB / 472.1 MB, free: 0.4961 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.001034/0.3696, allocations: 0.6451 MB / 472.7 MB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.3699, allocations: 107.3 kB / 472.8 MB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002892/0.3702, allocations: 138.1 kB / 473 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/0.3702, allocations: 8 kB / 473 MB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.3703, allocations: 4.469 kB / 473 MB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.29e-05/0.3703, allocations: 11.91 kB / 473 MB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006165/0.3765, allocations: 3.474 MB / 476.5 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/0.3765, allocations: 7.984 kB / 476.5 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005464/0.377, allocations: 119.9 kB / 476.6 MB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009951/0.378, allocations: 454.9 kB / 477 MB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.568e-05/0.3781, allocations: 23.98 kB / 477.1 MB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008408/0.3866, allocations: 9.211 MB / 486.3 MB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3866, allocations: 0 / 486.3 MB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003335/0.3899, allocations: 2.317 MB / 488.6 MB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004951/0.3904, allocations: 288.4 kB / 488.9 MB, free: 14.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.3906, allocations: 16 kB / 488.9 MB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/0.3911, allocations: 48.36 kB / 488.9 MB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002184/0.3913, allocations: 84.81 kB / 489 MB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.531e-05/0.3914, allocations: 31.98 kB / 489 MB, free: 14.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008873/0.3923, allocations: 0.6122 MB / 489.7 MB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3923, allocations: 0 / 489.7 MB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001774/0.3941, allocations: 383.9 kB / 490 MB, free: 13.83 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.003724/0.3978, allocations: 2.907 MB / 492.9 MB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002664/0.4005, allocations: 1.826 MB / 494.8 MB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4005, allocations: 1.312 kB / 494.8 MB, free: 9.004 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.4021, allocations: 1.25 MB / 496 MB, free: 7.703 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.4034, allocations: 295 kB / 496.3 MB, free: 7.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.4213, allocations: 12.2 MB / 0.4966 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/0.4232, allocations: 1.718 MB / 0.4983 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005567/0.4238, allocations: 188.9 kB / 0.4984 GB, free: 8.984 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007925/0.4246, allocations: 0.6165 MB / 0.499 GB, free: 8.367 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4246, allocations: 0 / 0.499 GB, free: 8.367 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07368/0.4983, allocations: 33.67 MB / 0.5319 GB, free: 7.02 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/13.95, allocations: 0 / 0.5319 GB, free: 7.02 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Polyphase_Examples_Rectifier.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches