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.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.00127/0.00127, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.00147/0.00147, allocations: 216 kB / 24.47 MB, free: 3.793 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.329/1.329, allocations: 207.7 MB / 235.3 MB, free: 9.773 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.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.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.00177/0.00177, allocations: 55.92 kB / 347.2 MB, free: 9.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2312/0.2329, allocations: 49.16 MB / 396.4 MB, free: 8.863 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.009361/0.2423, allocations: 9.296 MB / 405.7 MB, free: 2.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00596/0.2483, allocations: 3.183 MB / 408.9 MB, free: 420 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.2497, allocations: 99.31 kB / 409 MB, free: 368 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001544/0.2512, allocations: 0.7218 MB / 409.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002964/0.2542, allocations: 1.184 MB / 410.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.2552, allocations: 0.4973 MB / 411.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005751/0.261, allocations: 5.285 MB / 416.6 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.2641, allocations: 2.225 MB / 418.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004365/0.2684, allocations: 2.441 MB / 421.3 MB, free: 8.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/0.2728, allocations: 2.764 MB / 424.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.2739, allocations: 0.6268 MB / 424.7 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001635/0.2755, allocations: 0.699 MB / 425.4 MB, free: 5.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001614/0.2771, allocations: 1.648 MB / 427 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003017/0.2801, allocations: 2.241 MB / 429.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00906/0.2892, allocations: 8.479 MB / 437.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2892, allocations: 0 / 437.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.013e-06/0.2892, allocations: 0 / 437.8 MB, free: 9.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001906/0.2894, allocations: 0 / 437.8 MB, free: 9.551 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01196/0.3014, allocations: 5.136 MB / 442.9 MB, free: 4.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.3014, allocations: 11.98 kB / 442.9 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000879/0.3023, allocations: 0.5518 MB / 443.5 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.3038, allocations: 0.5681 MB / 444 MB, free: 3.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005748/0.3095, allocations: 2.603 MB / 446.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/0.3098, allocations: 291.8 kB / 446.9 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006388/0.3104, allocations: 388 kB / 447.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.3211, allocations: 6.119 MB / 453.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.946e-05/0.3211, allocations: 0 / 453.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/0.3215, allocations: 168 kB / 453.6 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002352/0.3218, allocations: 211.9 kB / 453.8 MB, free: 9.219 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008855/0.3306, allocations: 5.005 MB / 458.8 MB, free: 4.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02504/0.3556, allocations: 14.75 MB / 473.5 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005588/0.3612, allocations: 3.912 MB / 477.5 MB, free: 1.355 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003705/0.3649, allocations: 2.438 MB / 479.9 MB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002414/0.3652, allocations: 65.89 kB / 480 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.319e-05/0.3652, allocations: 64.56 kB / 480 MB, free: 14.78 MB / 398.1 MB Notification: Performance of pre-optimization done (n=249): time 4.819e-06/0.3653, allocations: 0 / 480 MB, free: 14.78 MB / 398.1 MB Notification: Performance of matching and sorting (n=256): time 0.01975/0.385, allocations: 10.04 MB / 490.1 MB, free: 4.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.3851, allocations: 77.42 kB / 490.1 MB, free: 4.566 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004062/0.3891, allocations: 2.651 MB / 492.8 MB, free: 1.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.3893, allocations: 65.7 kB / 492.9 MB, free: 1.824 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.3907, allocations: 1.671 MB / 494.5 MB, free: 140 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008193/0.3915, allocations: 0.8832 MB / 495.4 MB, free: 15.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006711/0.3922, allocations: 412.7 kB / 495.8 MB, free: 14.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3923, allocations: 313 kB / 496.1 MB, free: 14.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.3945, allocations: 1.332 MB / 497.5 MB, free: 13.19 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002434/0.3969, allocations: 1.658 MB / 499.1 MB, free: 11.43 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/0.4015, allocations: 3.076 MB / 0.4904 GB, free: 8.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.4015, allocations: 11.92 kB / 0.4904 GB, free: 8.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007843/0.4093, allocations: 4.431 MB / 0.4948 GB, free: 3.711 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.4094, allocations: 8 kB / 0.4948 GB, free: 3.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.4094, allocations: 8 kB / 0.4948 GB, free: 3.695 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005295/0.4147, allocations: 1.632 MB / 0.4964 GB, free: 2.031 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001655/0.4163, allocations: 391.5 kB / 0.4967 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02756/0.4439, allocations: 24.48 MB / 0.5206 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.4457, allocations: 87.94 kB / 0.5207 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001956/0.4459, allocations: 87.92 kB / 0.5208 GB, free: 7.859 MB / 446.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.002291/0.4482, allocations: 1.407 MB / 0.5222 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/0.4488, allocations: 314.1 kB / 0.5225 GB, free: 6.133 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007652/0.4564, allocations: 4.341 MB / 0.5267 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.688e-05/0.4565, allocations: 28 kB / 0.5268 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.4565, allocations: 8 kB / 0.5268 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.613e-05/0.4565, allocations: 11.95 kB / 0.5268 GB, free: 1.652 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01508/0.4716, allocations: 8.264 MB / 0.5348 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.4716, allocations: 3.938 kB / 0.5348 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.4728, allocations: 287.7 kB / 0.5351 GB, free: 9.012 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00512/0.4779, allocations: 1.62 MB / 0.5367 GB, free: 7.359 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002249/0.4782, allocations: 55.98 kB / 0.5368 GB, free: 7.305 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2008/0.679, allocations: 24.27 MB / 0.5605 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.679, allocations: 0 / 0.5605 GB, free: 139 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008666/0.6876, allocations: 6.075 MB / 0.5664 GB, free: 138.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/0.6894, allocations: 0.6304 MB / 0.567 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003804/0.6898, allocations: 54.45 kB / 0.5671 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/0.6911, allocations: 120.4 kB / 0.5672 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004771/0.6916, allocations: 227.4 kB / 0.5674 GB, free: 138.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/0.6917, allocations: 70.3 kB / 0.5675 GB, free: 138.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002627/0.6943, allocations: 1.854 MB / 0.5693 GB, free: 137.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6943, allocations: 0 / 0.5693 GB, free: 137.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003281/0.6976, allocations: 0.952 MB / 0.5702 GB, free: 137.5 MB / 478.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.009062/0.7067, allocations: 6.775 MB / 0.5768 GB, free: 134.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006153/0.7128, allocations: 4.764 MB / 0.5815 GB, free: 132.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.7128, allocations: 0 / 0.5815 GB, free: 132.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003779/0.7166, allocations: 3.275 MB / 0.5847 GB, free: 130.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/0.7201, allocations: 0.9615 MB / 0.5856 GB, free: 130 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0369/0.757, allocations: 31.95 MB / 0.6168 GB, free: 101.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002298/0.7593, allocations: 2.629 MB / 0.6194 GB, free: 99.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001505/0.7608, allocations: 0.5764 MB / 0.6199 GB, free: 98.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/0.7622, allocations: 1.464 MB / 0.6214 GB, free: 97.04 MB / 478.1 MB Notification: Performance of SimCode: time 8.32e-07/0.7622, allocations: 0 / 0.6214 GB, free: 97.04 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1432/0.9054, allocations: 94.76 MB / 0.7139 GB, free: 2.098 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.33/17.23, allocations: 3.859 kB / 0.7139 GB, free: 2.094 MB / 478.1 MB " [Timeout remaining time 643] (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/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/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: 20.037658251356333]