Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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 3.2.3+maint.om/package.mo", uses=false) 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.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.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_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.001154/0.001154, allocations: 113.2 kB / 17.73 MB, free: 5.301 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.001264/0.001264, allocations: 188.2 kB / 18.66 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.344/1.344, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 55.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08632, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.1805/0.2668, allocations: 6.181 MB / 380.8 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004375/0.2713, allocations: 1.689 MB / 382.5 MB, free: 9.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.2729, allocations: 35.66 kB / 382.5 MB, free: 9 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009311/0.274, allocations: 307.1 kB / 382.8 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.2758, allocations: 424 kB / 383.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009768/0.2768, allocations: 351.4 kB / 383.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002511/0.2793, allocations: 2.16 MB / 385.8 MB, free: 7.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.2821, allocations: 2.381 MB / 388.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001722/0.2838, allocations: 1.027 MB / 389.2 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00213/0.286, allocations: 1.211 MB / 390.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005711/0.2866, allocations: 290.2 kB / 390.7 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001084/0.2877, allocations: 431.1 kB / 391.1 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007484/0.2884, allocations: 0.699 MB / 391.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001958/0.2904, allocations: 1.239 MB / 393 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005213/0.2956, allocations: 3.634 MB / 396.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.2957, allocations: 0 / 396.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2957, allocations: 4 kB / 396.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001427/0.2959, allocations: 0 / 396.7 MB, free: 3.129 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.006617/0.3025, allocations: 2.511 MB / 399.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.3025, allocations: 9.625 kB / 399.2 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004851/0.303, allocations: 308.9 kB / 399.5 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004817/0.3035, allocations: 241.6 kB / 399.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002045/0.3056, allocations: 1.189 MB / 400.9 MB, free: 440 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.3057, allocations: 152.6 kB / 401.1 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/0.306, allocations: 210.2 kB / 401.3 MB, free: 292 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0049/0.311, allocations: 2.612 MB / 403.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.123e-05/0.311, allocations: 1.594 kB / 403.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.3112, allocations: 85.72 kB / 404 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.799e-05/0.3113, allocations: 56.27 kB / 404 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003868/0.3152, allocations: 2.082 MB / 406.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.3273, allocations: 7.332 MB / 413.4 MB, free: 8.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.3297, allocations: 2.353 MB / 415.8 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.3311, allocations: 0.9433 MB / 416.7 MB, free: 5.051 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.3312, allocations: 20.88 kB / 416.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.3312, allocations: 43.56 kB / 416.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 3.747e-06/0.3313, allocations: 0 / 416.8 MB, free: 4.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.007794/0.3391, allocations: 4.206 MB / 421 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.3391, allocations: 68.34 kB / 421.1 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.3403, allocations: 0.8525 MB / 421.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.088e-05/0.3403, allocations: 44.2 kB / 422 MB, free: 15.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/0.3409, allocations: 0.8514 MB / 422.8 MB, free: 14.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002669/0.3412, allocations: 359.3 kB / 423.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002616/0.3414, allocations: 178.6 kB / 423.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3416, allocations: 341.9 kB / 423.7 MB, free: 13.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007519/0.3423, allocations: 497.7 kB / 424.2 MB, free: 13.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000846/0.3432, allocations: 0.6694 MB / 424.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.3449, allocations: 1.201 MB / 426 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.3449, allocations: 4 kB / 426 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002596/0.3475, allocations: 1.628 MB / 427.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.3475, allocations: 8 kB / 427.7 MB, free: 9.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3475, allocations: 4 kB / 427.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001059/0.3486, allocations: 463 kB / 428.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006837/0.3493, allocations: 179.7 kB / 428.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008988/0.3583, allocations: 9.297 MB / 437.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008175/0.3592, allocations: 43.95 kB / 437.6 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/0.3592, allocations: 39.94 kB / 437.7 MB, free: 15.22 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.001173/0.3604, allocations: 0.6456 MB / 438.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00026/0.3607, allocations: 107.3 kB / 438.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.361, allocations: 134 kB / 438.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/0.361, allocations: 15.98 kB / 438.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/0.361, allocations: 3.938 kB / 438.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.3611, allocations: 3.984 kB / 438.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005869/0.3669, allocations: 3.486 MB / 442.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.367, allocations: 3.938 kB / 442.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.3675, allocations: 127.9 kB / 442.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009728/0.3685, allocations: 451 kB / 442.6 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.3686, allocations: 23.98 kB / 442.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008812/0.3774, allocations: 9.212 MB / 451.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3775, allocations: 0 / 451.9 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003613/0.3811, allocations: 2.315 MB / 454.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007019/0.3818, allocations: 284.4 kB / 454.5 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001428/0.382, allocations: 23.98 kB / 454.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004657/0.3824, allocations: 46.61 kB / 454.5 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002118/0.3827, allocations: 88.81 kB / 454.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.362e-05/0.3827, allocations: 20 kB / 454.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007996/0.3835, allocations: 0.6083 MB / 455.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3835, allocations: 0 / 455.3 MB, free: 12.96 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00161/0.3852, allocations: 383.9 kB / 455.6 MB, free: 12.59 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.003751/0.3889, allocations: 2.901 MB / 458.5 MB, free: 9.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002699/0.3916, allocations: 1.831 MB / 460.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.3917, allocations: 0 / 460.4 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.3934, allocations: 1.246 MB / 461.6 MB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.3949, allocations: 298.1 kB / 461.9 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0193/0.4142, allocations: 12.15 MB / 474 MB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.4158, allocations: 1.726 MB / 475.8 MB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005992/0.4164, allocations: 184.9 kB / 476 MB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007958/0.4172, allocations: 0.6204 MB / 476.6 MB, free: 7.16 MB / 398.1 MB Notification: Performance of SimCode: time 1.001e-06/0.4172, allocations: 0 / 476.6 MB, free: 7.16 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07471/0.4919, allocations: 33.63 MB / 0.4982 GB, free: 5.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.64, allocations: 7.797 kB / 0.4983 GB, free: 5.414 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.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_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches