Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.001283/0.001283, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002015/0.002015, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.318/1.318, allocations: 207.6 MB / 235.3 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 179] 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.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.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 51.92 kB / 347.2 MB, free: 10.13 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2416, allocations: 49.17 MB / 396.4 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007192/0.2488, allocations: 6.871 MB / 403.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004572/0.2534, allocations: 2.354 MB / 405.6 MB, free: 2.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.2544, allocations: 50.62 kB / 405.6 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.2555, allocations: 476.4 kB / 406.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.2572, allocations: 0.6971 MB / 406.8 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005775/0.2578, allocations: 290.3 kB / 407.1 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003279/0.2611, allocations: 2.919 MB / 410 MB, free: 44 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001932/0.263, allocations: 1.289 MB / 411.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.2659, allocations: 1.337 MB / 412.6 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003526/0.2694, allocations: 1.564 MB / 414.2 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006772/0.2701, allocations: 349.7 kB / 414.5 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.2714, allocations: 437.2 kB / 415 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009862/0.2724, allocations: 0.9003 MB / 415.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00217/0.2746, allocations: 1.529 MB / 417.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005598/0.2802, allocations: 4.625 MB / 422 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2802, allocations: 0 / 422 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2802, allocations: 7.875 kB / 422 MB, free: 8.559 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.195e-05/0.2803, allocations: 1.312 kB / 422 MB, free: 8.559 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006118/0.2864, allocations: 2.94 MB / 425 MB, free: 6.566 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.2864, allocations: 13.2 kB / 425 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004618/0.2869, allocations: 331.9 kB / 425.3 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008298/0.2877, allocations: 327.1 kB / 425.6 MB, free: 5.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.2906, allocations: 1.474 MB / 427.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.2908, allocations: 168.4 kB / 427.3 MB, free: 4.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.2911, allocations: 212 kB / 427.5 MB, free: 4.031 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005219/0.2963, allocations: 3.167 MB / 430.6 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.898e-05/0.2964, allocations: 8 kB / 430.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000205/0.2966, allocations: 84 kB / 430.7 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.2967, allocations: 116.4 kB / 430.8 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004533/0.3012, allocations: 2.723 MB / 433.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01464/0.3159, allocations: 8.734 MB / 442.3 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.3188, allocations: 1.933 MB / 444.2 MB, free: 3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002034/0.3209, allocations: 1.242 MB / 445.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002285/0.3211, allocations: 41.28 kB / 445.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.733e-05/0.3212, allocations: 47.88 kB / 445.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.386e-06/0.3212, allocations: 4 kB / 445.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01119/0.3324, allocations: 5.267 MB / 450.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.856e-05/0.3324, allocations: 72.66 kB / 450.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002386/0.3348, allocations: 1.49 MB / 452.4 MB, free: 10.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.3349, allocations: 45.7 kB / 452.4 MB, free: 10.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007731/0.3357, allocations: 0.9588 MB / 453.4 MB, free: 9.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.3361, allocations: 468 kB / 453.8 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.3365, allocations: 226.9 kB / 454.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.3367, allocations: 349.9 kB / 454.4 MB, free: 8.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.3378, allocations: 0.6935 MB / 455.1 MB, free: 8.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.339, allocations: 0.8715 MB / 456 MB, free: 7.098 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.3414, allocations: 1.609 MB / 457.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3414, allocations: 4 kB / 457.6 MB, free: 5.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004007/0.3454, allocations: 2.295 MB / 459.9 MB, free: 3.117 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3455, allocations: 8 kB / 459.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3455, allocations: 8 kB / 459.9 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/0.3482, allocations: 0.8227 MB / 460.7 MB, free: 2.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007819/0.349, allocations: 203.7 kB / 460.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/0.3622, allocations: 11.1 MB / 472 MB, free: 6.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/0.3633, allocations: 47.97 kB / 472.1 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.991e-05/0.3634, allocations: 39.98 kB / 472.1 MB, free: 6.426 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 100 * Array equations: 0 * 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 {(2,29,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.001415/0.3648, allocations: 0.8253 MB / 472.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.3651, allocations: 167 kB / 473.1 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/0.3691, allocations: 2.249 MB / 475.3 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3691, allocations: 12 kB / 475.4 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.3691, allocations: 4 kB / 475.4 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3691, allocations: 7.984 kB / 475.4 MB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007957/0.3771, allocations: 4.683 MB / 480.1 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.3771, allocations: 4 kB / 480.1 MB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006478/0.3778, allocations: 155.7 kB / 480.2 MB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/0.3803, allocations: 0.8232 MB / 481 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.398e-05/0.3804, allocations: 27.98 kB / 481.1 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/0.3934, allocations: 10.96 MB / 492 MB, free: 1.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3934, allocations: 4.031 kB / 492 MB, free: 1.914 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/0.3987, allocations: 3.228 MB / 495.3 MB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.3998, allocations: 346.8 kB / 495.6 MB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/0.4, allocations: 28 kB / 495.6 MB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007682/0.4008, allocations: 63.94 kB / 495.7 MB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/0.4011, allocations: 121.1 kB / 495.8 MB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/0.4011, allocations: 43.92 kB / 495.8 MB, free: 14.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001617/0.4028, allocations: 1.056 MB / 496.9 MB, free: 12.99 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4028, allocations: 0 / 496.9 MB, free: 12.99 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001957/0.4047, allocations: 0.516 MB / 497.4 MB, free: 12.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * 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 {(2,29,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.005828/0.4105, allocations: 3.871 MB / 0.4895 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003834/0.4144, allocations: 2.357 MB / 0.4918 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4144, allocations: 0 / 0.4918 GB, free: 6.137 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.4169, allocations: 1.598 MB / 0.4934 GB, free: 4.488 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.419, allocations: 0.5118 MB / 0.4939 GB, free: 3.977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02752/0.4466, allocations: 17.63 MB / 0.5111 GB, free: 2.023 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/0.4485, allocations: 2.047 MB / 0.5131 GB, free: 15.93 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009357/0.4495, allocations: 313.5 kB / 0.5134 GB, free: 15.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009953/0.4505, allocations: 0.7766 MB / 0.5142 GB, free: 14.85 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4505, allocations: 0 / 0.5142 GB, free: 14.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2822/0.7326, allocations: 51.98 MB / 0.5649 GB, free: 149.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.65, allocations: 3.531 kB / 0.5649 GB, free: 149.1 MB / 478.1 MB " [Timeout remaining time 643] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformer1.l2sigma.inductor[1].i in file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv. Warning: Get data of variable transformer1.l2sigma.inductor[1].i from file Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.080644665002183]