Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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.001438/0.001438, allocations: 112.2 kB / 20.43 MB, free: 1.449 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.001943/0.001943, allocations: 188 kB / 23.72 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 55.92 kB / 370.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2967/0.2985, allocations: 52.18 MB / 422.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01285/0.3114, allocations: 10.8 MB / 433.5 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007096/0.3185, allocations: 3.186 MB / 436.6 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.3205, allocations: 111.2 kB / 436.8 MB, free: 472 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002407/0.3229, allocations: 0.7371 MB / 437.5 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.3269, allocations: 1.181 MB / 438.7 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.3284, allocations: 475.4 kB / 439.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007131/0.3356, allocations: 5.139 MB / 444.3 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004947/0.3405, allocations: 2.507 MB / 446.8 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.3454, allocations: 2.43 MB / 449.2 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004948/0.3503, allocations: 2.833 MB / 452 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.3519, allocations: 0.625 MB / 452.7 MB, free: 444 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.3544, allocations: 0.7147 MB / 453.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002417/0.3568, allocations: 1.64 MB / 455 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005207/0.3621, allocations: 2.766 MB / 457.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.3736, allocations: 8.436 MB / 466.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3736, allocations: 0 / 466.2 MB, free: 2.832 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3736, allocations: 4 kB / 466.2 MB, free: 2.828 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003032/0.3739, allocations: 0 / 466.2 MB, free: 2.828 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.01423/0.3881, allocations: 5.147 MB / 471.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3881, allocations: 8.031 kB / 471.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001688/0.3898, allocations: 0.5595 MB / 471.9 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.3922, allocations: 0.5681 MB / 472.5 MB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006889/0.3991, allocations: 2.826 MB / 475.3 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.3994, allocations: 287.8 kB / 475.6 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001155/0.4006, allocations: 391.9 kB / 476 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0133/0.4139, allocations: 5.797 MB / 481.8 MB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001155/0.414, allocations: 7.938 kB / 481.8 MB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008863/0.4149, allocations: 160 kB / 482 MB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002405/0.4151, allocations: 208 kB / 482.2 MB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/0.4262, allocations: 5.016 MB / 487.2 MB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03495/0.4611, allocations: 16.12 MB / 0.4915 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006906/0.468, allocations: 3.904 MB / 0.4953 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004531/0.4725, allocations: 2.454 MB / 0.4977 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003509/0.4729, allocations: 61.95 kB / 0.4978 GB, free: 6.902 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.581e-05/0.473, allocations: 64.56 kB / 0.4978 GB, free: 6.828 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 7.484e-06/0.473, allocations: 0 / 0.4978 GB, free: 6.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02454/0.4975, allocations: 10.03 MB / 0.5076 GB, free: 12.71 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.2e-05/0.4976, allocations: 85.36 kB / 0.5077 GB, free: 12.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005525/0.5032, allocations: 2.628 MB / 0.5103 GB, free: 9.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004519/0.5036, allocations: 69.7 kB / 0.5103 GB, free: 9.891 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001698/0.5053, allocations: 1.675 MB / 0.512 GB, free: 8.203 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.5065, allocations: 0.887 MB / 0.5128 GB, free: 7.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.5076, allocations: 408.7 kB / 0.5132 GB, free: 6.902 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5077, allocations: 313.1 kB / 0.5135 GB, free: 6.594 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002469/0.5102, allocations: 1.34 MB / 0.5148 GB, free: 5.25 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/0.5131, allocations: 1.654 MB / 0.5165 GB, free: 3.5 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005699/0.5188, allocations: 3.083 MB / 0.5195 GB, free: 300 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-05/0.5189, allocations: 0 / 0.5195 GB, free: 300 kB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01033/0.5292, allocations: 4.439 MB / 0.5238 GB, free: 11.77 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.957e-05/0.5293, allocations: 8 kB / 0.5238 GB, free: 11.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.971e-05/0.5293, allocations: 4 kB / 0.5238 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006352/0.5356, allocations: 1.639 MB / 0.5254 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.5376, allocations: 391.5 kB / 0.5258 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3161/0.8536, allocations: 24.71 MB / 0.5499 GB, free: 93.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/0.8555, allocations: 93.75 kB / 0.55 GB, free: 93.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.8556, allocations: 79.94 kB / 0.5501 GB, free: 93.3 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.001782/0.8574, allocations: 1.404 MB / 0.5515 GB, free: 92.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005385/0.858, allocations: 313.5 kB / 0.5518 GB, free: 92.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005965/0.8639, allocations: 4.341 MB / 0.556 GB, free: 90.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.8639, allocations: 22.78 kB / 0.556 GB, free: 90.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.281e-05/0.8639, allocations: 18.47 kB / 0.556 GB, free: 90.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/0.864, allocations: 11.2 kB / 0.556 GB, free: 90.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.8761, allocations: 8.732 MB / 0.5646 GB, free: 84.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.8761, allocations: 3.938 kB / 0.5646 GB, free: 84.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.8772, allocations: 283.6 kB / 0.5648 GB, free: 84.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004521/0.8817, allocations: 1.631 MB / 0.5664 GB, free: 82.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002108/0.8819, allocations: 55.98 kB / 0.5665 GB, free: 82.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/0.9, allocations: 24.46 MB / 0.5904 GB, free: 57.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9, allocations: 3.875 kB / 0.5904 GB, free: 57.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008292/0.9083, allocations: 6.075 MB / 0.5963 GB, free: 51.38 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001941/0.9102, allocations: 0.6268 MB / 0.5969 GB, free: 50.76 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000772/0.911, allocations: 55.98 kB / 0.597 GB, free: 50.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.9127, allocations: 123.9 kB / 0.5971 GB, free: 50.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005046/0.9132, allocations: 221.5 kB / 0.5973 GB, free: 50.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001671/0.9133, allocations: 68.05 kB / 0.5974 GB, free: 50.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002711/0.916, allocations: 1.852 MB / 0.5992 GB, free: 48.44 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.916, allocations: 0 / 0.5992 GB, free: 48.44 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003871/0.9199, allocations: 0.9511 MB / 0.6001 GB, free: 47.49 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.008576/0.9285, allocations: 6.78 MB / 0.6067 GB, free: 40.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005692/0.9342, allocations: 4.767 MB / 0.6114 GB, free: 35.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.9342, allocations: 7 kB / 0.6114 GB, free: 35.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003609/0.9378, allocations: 3.271 MB / 0.6146 GB, free: 32.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004113/0.9419, allocations: 0.9528 MB / 0.6155 GB, free: 31.35 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04529/0.9872, allocations: 31.95 MB / 0.6467 GB, free: 14.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004636/0.9918, allocations: 3.179 MB / 0.6498 GB, free: 11.73 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001967/0.9938, allocations: 0.5713 MB / 0.6504 GB, free: 11.15 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002347/0.9961, allocations: 1.468 MB / 0.6518 GB, free: 9.684 MB / 462.1 MB Notification: Performance of SimCode: time 1.022e-06/0.9962, allocations: 0 / 0.6518 GB, free: 9.684 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4281/1.424, allocations: 93.85 MB / 0.7435 GB, free: 175.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.54/20.97, allocations: 5.75 kB / 0.7435 GB, free: 175.9 MB / 0.5294 GB " [Timeout remaining time 639] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 24.032282187137753]