Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.001693/0.001693, allocations: 122.3 kB / 18.45 MB, free: 4.605 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.001919/0.001919, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.392/1.392, allocations: 207.6 MB / 231.8 MB, free: 4.105 MB / 174.1 MB " [Timeout remaining time 178] 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.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.001744/0.001744, allocations: 51.92 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1033, allocations: 49.12 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01289/0.1162, allocations: 10.69 MB / 402.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007865/0.1241, allocations: 3.284 MB / 405.4 MB, free: 10.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.1261, allocations: 71.62 kB / 405.4 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.128, allocations: 0.7332 MB / 406.2 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003201/0.1312, allocations: 1.181 MB / 407.4 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.1322, allocations: 499.4 kB / 407.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006138/0.1384, allocations: 5.28 MB / 413.1 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003741/0.1421, allocations: 3.046 MB / 416.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004445/0.1466, allocations: 2.395 MB / 418.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004541/0.1511, allocations: 2.814 MB / 421.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009824/0.1521, allocations: 0.6249 MB / 422 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.1535, allocations: 0.7069 MB / 422.7 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001645/0.1552, allocations: 1.648 MB / 424.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003906/0.1591, allocations: 2.766 MB / 427.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009801/0.1689, allocations: 8.425 MB / 435.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.1689, allocations: 0 / 435.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1689, allocations: 4 kB / 435.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002102/0.1691, allocations: 0 / 435.6 MB, free: 12.33 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01228/0.1814, allocations: 5.195 MB / 440.8 MB, free: 7.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.1814, allocations: 12.03 kB / 440.8 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008388/0.1823, allocations: 0.5556 MB / 441.3 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.1837, allocations: 0.572 MB / 441.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005194/0.1889, allocations: 2.644 MB / 444.5 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.1892, allocations: 287.8 kB / 444.8 MB, free: 2.902 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005803/0.1897, allocations: 399.9 kB / 445.2 MB, free: 2.512 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.2025, allocations: 5.782 MB / 451 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.2026, allocations: 3.938 kB / 451 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007904/0.2034, allocations: 164 kB / 451.2 MB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002548/0.2036, allocations: 208 kB / 451.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01027/0.2139, allocations: 5.008 MB / 456.4 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2115/0.4254, allocations: 16.22 MB / 472.6 MB, free: 53.74 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005517/0.4309, allocations: 6.619 MB / 479.2 MB, free: 48.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003182/0.4341, allocations: 2.457 MB / 481.7 MB, free: 47.95 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002486/0.4343, allocations: 138.2 kB / 481.8 MB, free: 47.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.4344, allocations: 61.44 kB / 481.9 MB, free: 47.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 4.769e-06/0.4344, allocations: 0 / 481.9 MB, free: 47.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.01653/0.4509, allocations: 10.72 MB / 492.6 MB, free: 41.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.451, allocations: 87.27 kB / 492.7 MB, free: 41.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003283/0.4542, allocations: 2.641 MB / 495.3 MB, free: 40.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001538/0.4544, allocations: 64.95 kB / 495.4 MB, free: 40.3 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009231/0.4553, allocations: 1.674 MB / 497 MB, free: 39.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005351/0.4559, allocations: 0.8883 MB / 497.9 MB, free: 38.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005499/0.4564, allocations: 410.1 kB / 498.3 MB, free: 38.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.4565, allocations: 301.1 kB / 498.6 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/0.458, allocations: 1.337 MB / 500 MB, free: 36.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.4596, allocations: 1.659 MB / 0.4899 GB, free: 34.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/0.4627, allocations: 3.085 MB / 0.4929 GB, free: 31.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.4627, allocations: 4 kB / 0.4929 GB, free: 31.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.005485/0.4682, allocations: 4.419 MB / 0.4972 GB, free: 27.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4682, allocations: 18.5 kB / 0.4972 GB, free: 27.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4682, allocations: 4 kB / 0.4972 GB, free: 27.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004261/0.4725, allocations: 1.646 MB / 0.4988 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.4737, allocations: 391.4 kB / 0.4992 GB, free: 25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01875/0.4925, allocations: 25.74 MB / 0.5243 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.4947, allocations: 97.06 kB / 0.5244 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004033/0.4951, allocations: 76.38 kB / 0.5245 GB, free: 13.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.003219/0.4983, allocations: 1.407 MB / 0.5259 GB, free: 12.31 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001195/0.4995, allocations: 306.1 kB / 0.5262 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008801/0.5083, allocations: 4.352 MB / 0.5304 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.513e-05/0.5083, allocations: 24 kB / 0.5304 GB, free: 7.543 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-05/0.5083, allocations: 16 kB / 0.5305 GB, free: 7.527 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/0.5084, allocations: 11.95 kB / 0.5305 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0171/0.5255, allocations: 8.742 MB / 0.539 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.5255, allocations: 0 / 0.539 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.5266, allocations: 287.7 kB / 0.5393 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00541/0.532, allocations: 1.616 MB / 0.5409 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002289/0.5323, allocations: 63.98 kB / 0.5409 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0293/0.5616, allocations: 25.51 MB / 0.5658 GB, free: 1.863 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.5616, allocations: 4.031 kB / 0.5658 GB, free: 1.859 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01076/0.5723, allocations: 6.068 MB / 0.5718 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/0.5744, allocations: 0.6865 MB / 0.5724 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007367/0.5751, allocations: 59.98 kB / 0.5725 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/0.5767, allocations: 119.9 kB / 0.5726 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005349/0.5772, allocations: 217.6 kB / 0.5728 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.5774, allocations: 63.98 kB / 0.5729 GB, free: 10.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003333/0.5807, allocations: 1.856 MB / 0.5747 GB, free: 8.652 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5807, allocations: 0 / 0.5747 GB, free: 8.652 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0037/0.5844, allocations: 0.9511 MB / 0.5756 GB, free: 7.703 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01034/0.5948, allocations: 6.774 MB / 0.5822 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007584/0.6024, allocations: 4.76 MB / 0.5869 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.6024, allocations: 4 kB / 0.5869 GB, free: 11.92 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005066/0.6074, allocations: 3.272 MB / 0.5901 GB, free: 8.516 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004606/0.612, allocations: 0.9492 MB / 0.591 GB, free: 7.566 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06028/0.6723, allocations: 31.92 MB / 0.6222 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004993/0.6773, allocations: 3.177 MB / 0.6253 GB, free: 3.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002112/0.6794, allocations: 0.5752 MB / 0.6258 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002572/0.682, allocations: 1.464 MB / 0.6273 GB, free: 1.895 MB / 494.1 MB Notification: Performance of SimCode: time 1.112e-06/0.682, allocations: 0 / 0.6273 GB, free: 1.895 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3892/1.071, allocations: 91.81 MB / 0.7169 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.63/19.7, allocations: 8 kB / 0.7169 GB, free: 116.8 MB / 0.4981 GB " [Timeout remaining time 640] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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: 22.675659417640418]