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.0008598/0.0008598, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000767/0.000767, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.855/0.855, allocations: 173.4 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] 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 1.343e-06/1.343e-06, allocations: 0 / 318.5 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.856e-05/1.99e-05, allocations: 2.281 kB / 318.5 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01013/0.01015, allocations: 9.381 MB / 327.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007213/0.01736, allocations: 3.081 MB / 330.9 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002866/0.02023, allocations: 111.2 kB / 331 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001704/0.02193, allocations: 0.7332 MB / 331.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002334/0.02427, allocations: 1.222 MB / 333 MB, free: 7.719 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.02491, allocations: 471.4 kB / 333.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003802/0.02872, allocations: 5.316 MB / 338.8 MB, free: 1.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.03089, allocations: 2.429 MB / 341.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003538/0.03443, allocations: 3.548 MB / 344.7 MB, free: 11.87 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002502/0.03693, allocations: 2.514 MB / 347.3 MB, free: 9.348 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004793/0.03741, allocations: 0.6211 MB / 347.9 MB, free: 8.727 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006849/0.0381, allocations: 0.7107 MB / 348.6 MB, free: 8.016 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008626/0.03896, allocations: 1.695 MB / 350.3 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001343/0.0403, allocations: 1.93 MB / 352.2 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005004/0.04531, allocations: 8.555 MB / 360.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.04531, allocations: 3.984 kB / 360.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04531, allocations: 0 / 360.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.301e-05/0.04539, allocations: 0 / 360.8 MB, free: 11.8 MB / 330.7 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.005528/0.05091, allocations: 5.097 MB / 365.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.05095, allocations: 12.92 kB / 365.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004883/0.05144, allocations: 0.5556 MB / 366.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009756/0.05242, allocations: 0.5758 MB / 367 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002918/0.05534, allocations: 2.814 MB / 369.8 MB, free: 2.605 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.05548, allocations: 299.9 kB / 370.1 MB, free: 2.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.05582, allocations: 387.9 kB / 370.5 MB, free: 1.934 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005832/0.06166, allocations: 6.127 MB / 376.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.701e-05/0.0617, allocations: 7.938 kB / 376.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.06195, allocations: 160 kB / 376.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/0.06208, allocations: 208 kB / 377 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005257/0.06734, allocations: 5.012 MB / 382 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01497/0.08231, allocations: 14.76 MB / 396.8 MB, free: 7.207 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.08601, allocations: 3.882 MB / 400.6 MB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002375/0.08838, allocations: 2.455 MB / 403.1 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.08858, allocations: 53.97 kB / 403.2 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/0.08862, allocations: 68.55 kB / 403.2 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of pre-optimization done (n=249): time 4.168e-06/0.08863, allocations: 0 / 403.2 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of matching and sorting (n=256): time 0.01321/0.1018, allocations: 10.03 MB / 413.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.1019, allocations: 81.42 kB / 413.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/0.105, allocations: 2.647 MB / 416 MB, free: 3.977 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.1052, allocations: 73.7 kB / 416 MB, free: 3.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008538/0.106, allocations: 1.671 MB / 417.7 MB, free: 2.211 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.1065, allocations: 0.8675 MB / 418.6 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004382/0.107, allocations: 408.7 kB / 419 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.168e-05/0.107, allocations: 309.1 kB / 419.3 MB, free: 0.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.1085, allocations: 1.336 MB / 420.6 MB, free: 15.28 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001515/0.11, allocations: 1.654 MB / 422.3 MB, free: 13.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002981/0.113, allocations: 3.087 MB / 425.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/0.113, allocations: 0 / 425.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00495/0.1179, allocations: 4.435 MB / 429.8 MB, free: 5.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.1179, allocations: 8 kB / 429.8 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.118, allocations: 8.062 kB / 429.8 MB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/0.1208, allocations: 1.632 MB / 431.4 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/0.1216, allocations: 395.4 kB / 431.8 MB, free: 3.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1524/0.274, allocations: 24.48 MB / 456.3 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.2755, allocations: 99.22 kB / 456.4 MB, free: 112.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.2756, allocations: 73.5 kB / 456.5 MB, free: 112.1 MB / 410.7 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.001675/0.2773, allocations: 1.404 MB / 457.9 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.2776, allocations: 304.9 kB / 458.2 MB, free: 112 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/0.2815, allocations: 4.341 MB / 462.5 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.2815, allocations: 29.5 kB / 462.6 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.2815, allocations: 10.91 kB / 462.6 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.2815, allocations: 18.7 kB / 462.6 MB, free: 110.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007391/0.2889, allocations: 8.248 MB / 470.8 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.2889, allocations: 0 / 470.8 MB, free: 104.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.2895, allocations: 294.8 kB / 471.1 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/0.2917, allocations: 1.61 MB / 472.7 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.741e-05/0.2918, allocations: 59.98 kB / 472.8 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01148/0.3033, allocations: 24.24 MB / 497 MB, free: 77.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3033, allocations: 4.062 kB / 497 MB, free: 77.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005267/0.3086, allocations: 6.078 MB / 0.4913 GB, free: 71.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.3096, allocations: 0.6242 MB / 0.4919 GB, free: 71.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.3098, allocations: 52 kB / 0.492 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006832/0.3105, allocations: 127.9 kB / 0.4921 GB, free: 70.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003575/0.3109, allocations: 225.5 kB / 0.4923 GB, free: 70.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-05/0.311, allocations: 60 kB / 0.4924 GB, free: 70.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001633/0.3126, allocations: 1.852 MB / 0.4942 GB, free: 68.74 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3126, allocations: 0 / 0.4942 GB, free: 68.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002252/0.3148, allocations: 0.9474 MB / 0.4951 GB, free: 67.79 MB / 410.7 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.005095/0.3199, allocations: 6.776 MB / 0.5017 GB, free: 60.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003714/0.3237, allocations: 4.765 MB / 0.5064 GB, free: 56.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3237, allocations: 1.562 kB / 0.5064 GB, free: 56.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.3258, allocations: 3.271 MB / 0.5096 GB, free: 52.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.328, allocations: 0.9635 MB / 0.5105 GB, free: 51.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/0.3615, allocations: 32.05 MB / 0.5418 GB, free: 19.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/0.3634, allocations: 2.637 MB / 0.5444 GB, free: 16.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001158/0.3645, allocations: 0.5764 MB / 0.5449 GB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/0.3655, allocations: 1.461 MB / 0.5464 GB, free: 14.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/0.3655, allocations: 0 / 0.5464 GB, free: 14.44 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2297/0.5952, allocations: 94.48 MB / 0.6386 GB, free: 132.3 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.65, allocations: 0 / 0.6386 GB, free: 132.3 MB / 458.7 MB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/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: 13.605843826197088]