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.00141/0.00141, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001569/0.001569, allocations: 208.6 kB / 24.49 MB, free: 4.059 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.496/1.496, allocations: 207.6 MB / 235.3 MB, free: 9.992 MB / 190.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.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.002645/0.002645, allocations: 55.92 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2815, allocations: 49.16 MB / 396.4 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007826/0.2893, allocations: 6.874 MB / 403.2 MB, free: 4.102 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.294, allocations: 2.355 MB / 405.6 MB, free: 2.383 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.2951, allocations: 54.47 kB / 405.6 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.2963, allocations: 472.2 kB / 406.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.2981, allocations: 0.6964 MB / 406.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006096/0.2987, allocations: 294.6 kB / 407.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003056/0.3017, allocations: 2.918 MB / 410 MB, free: 28 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00191/0.3036, allocations: 1.281 MB / 411.3 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003003/0.3066, allocations: 1.349 MB / 412.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002967/0.3096, allocations: 1.562 MB / 414.2 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005164/0.3101, allocations: 348.8 kB / 414.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.3112, allocations: 442.2 kB / 415 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009442/0.3121, allocations: 0.9002 MB / 415.9 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.3144, allocations: 1.525 MB / 417.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005778/0.3202, allocations: 4.631 MB / 422 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3202, allocations: 1.5 kB / 422 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3202, allocations: 3.938 kB / 422 MB, free: 8.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000128/0.3204, allocations: 0 / 422 MB, free: 8.527 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.008189/0.3285, allocations: 2.945 MB / 425 MB, free: 6.531 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3286, allocations: 13.14 kB / 425 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000712/0.3293, allocations: 328 kB / 425.3 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.3304, allocations: 323.1 kB / 425.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003033/0.3334, allocations: 1.471 MB / 427.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.3336, allocations: 168.4 kB / 427.3 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000357/0.3339, allocations: 219.9 kB / 427.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00554/0.3395, allocations: 3.167 MB / 430.6 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.608e-05/0.3395, allocations: 11.94 kB / 430.7 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002042/0.3397, allocations: 84 kB / 430.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.3398, allocations: 116.4 kB / 430.8 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004734/0.3446, allocations: 2.719 MB / 433.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01515/0.3597, allocations: 8.726 MB / 442.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.3628, allocations: 1.937 MB / 444.2 MB, free: 2.977 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.3648, allocations: 1.23 MB / 445.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.365, allocations: 53.27 kB / 445.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.365, allocations: 43.88 kB / 445.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 2.975e-06/0.365, allocations: 4 kB / 445.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.011/0.376, allocations: 5.263 MB / 450.8 MB, free: 12.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.3761, allocations: 68.7 kB / 450.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.3785, allocations: 1.498 MB / 452.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.3786, allocations: 45.7 kB / 452.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007961/0.3794, allocations: 0.9588 MB / 453.4 MB, free: 9.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004126/0.3799, allocations: 472 kB / 453.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003601/0.3802, allocations: 218.9 kB / 454.1 MB, free: 9.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3804, allocations: 357.9 kB / 454.4 MB, free: 8.691 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.3815, allocations: 0.6935 MB / 455.1 MB, free: 7.996 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.3827, allocations: 0.8715 MB / 456 MB, free: 7.074 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/0.3851, allocations: 1.613 MB / 457.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.3851, allocations: 0 / 457.6 MB, free: 5.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004099/0.3892, allocations: 2.291 MB / 459.9 MB, free: 3.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.3892, allocations: 7.984 kB / 459.9 MB, free: 3.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.3892, allocations: 4 kB / 459.9 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.392, allocations: 0.8345 MB / 460.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/0.3928, allocations: 199.7 kB / 460.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.4061, allocations: 11.09 MB / 472 MB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.4074, allocations: 47.97 kB / 472.1 MB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.824e-05/0.4075, allocations: 40 kB / 472.1 MB, free: 6.41 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.001563/0.409, allocations: 0.8214 MB / 472.9 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004312/0.4094, allocations: 167 kB / 473.1 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/0.4135, allocations: 2.253 MB / 475.3 MB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.4135, allocations: 12 kB / 475.4 MB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.4135, allocations: 7.984 kB / 475.4 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.4135, allocations: 3.984 kB / 475.4 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008482/0.422, allocations: 4.691 MB / 480.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.756e-06/0.422, allocations: 4 kB / 480.1 MB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000687/0.4227, allocations: 155.8 kB / 480.2 MB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.4253, allocations: 0.8077 MB / 481 MB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.4255, allocations: 32 kB / 481 MB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01299/0.4384, allocations: 10.97 MB / 492 MB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/0.4385, allocations: 4.031 kB / 492 MB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005299/0.4438, allocations: 3.224 MB / 495.2 MB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.4448, allocations: 350.8 kB / 495.6 MB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.4451, allocations: 28 kB / 495.6 MB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007621/0.4458, allocations: 63.94 kB / 495.7 MB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/0.4461, allocations: 121.1 kB / 495.8 MB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-05/0.4462, allocations: 39.92 kB / 495.8 MB, free: 14.03 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001628/0.4478, allocations: 1.06 MB / 496.9 MB, free: 12.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4478, allocations: 0 / 496.9 MB, free: 12.96 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001866/0.4497, allocations: 0.516 MB / 497.4 MB, free: 12.45 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.005772/0.4555, allocations: 3.867 MB / 0.4895 GB, free: 8.527 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003884/0.4593, allocations: 2.365 MB / 0.4918 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4594, allocations: 0 / 0.4918 GB, free: 6.109 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/0.4619, allocations: 1.594 MB / 0.4934 GB, free: 4.465 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.4643, allocations: 0.5079 MB / 0.4939 GB, free: 3.957 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0283/0.4926, allocations: 17.63 MB / 0.5111 GB, free: 2.004 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.4946, allocations: 2.047 MB / 0.5131 GB, free: 15.92 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0009342/0.4955, allocations: 305.5 kB / 0.5134 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/0.4966, allocations: 0.7843 MB / 0.5142 GB, free: 14.83 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4966, allocations: 0 / 0.5142 GB, free: 14.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3391/0.8357, allocations: 51.97 MB / 0.5649 GB, free: 149.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/16.82, allocations: 3.031 kB / 0.5649 GB, free: 149.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.504063447006047]