Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008444/0.0008444, allocations: 79.7 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.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.0007941/0.0007941, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8699/0.8699, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.587e-05/1.737e-05, allocations: 5.094 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.005268/0.005285, allocations: 6.157 MB / 330.7 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003132/0.008417, allocations: 2.231 MB / 333 MB, free: 7.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005052/0.008922, allocations: 59.56 kB / 333 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007673/0.009689, allocations: 452.9 kB / 333.5 MB, free: 6.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.01073, allocations: 0.7258 MB / 334.2 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003384/0.01107, allocations: 279.5 kB / 334.5 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001816/0.01288, allocations: 2.959 MB / 337.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001165/0.01405, allocations: 1.336 MB / 338.8 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002023/0.01607, allocations: 1.955 MB / 340.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001256/0.01733, allocations: 1.399 MB / 342.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002841/0.01761, allocations: 348 kB / 342.4 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004357/0.01805, allocations: 431.9 kB / 342.9 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004517/0.0185, allocations: 0.9231 MB / 343.8 MB, free: 12.58 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007336/0.01923, allocations: 1.064 MB / 344.9 MB, free: 11.51 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002604/0.02184, allocations: 4.713 MB / 349.6 MB, free: 6.785 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.02184, allocations: 0 / 349.6 MB, free: 6.785 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.113e-06/0.02184, allocations: 0 / 349.6 MB, free: 6.785 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.874e-05/0.02188, allocations: 0 / 349.6 MB, free: 6.785 MB / 314.7 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.003315/0.02519, allocations: 2.943 MB / 352.5 MB, free: 3.797 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.02523, allocations: 8.031 kB / 352.5 MB, free: 3.789 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003026/0.02553, allocations: 332.9 kB / 352.8 MB, free: 3.453 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005366/0.02607, allocations: 343.1 kB / 353.2 MB, free: 3.117 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001907/0.02798, allocations: 1.619 MB / 354.8 MB, free: 1.449 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.836e-05/0.02806, allocations: 168.5 kB / 355 MB, free: 1.281 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.02825, allocations: 216 kB / 355.2 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003301/0.03156, allocations: 3.362 MB / 358.5 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.03158, allocations: 7.875 kB / 358.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.03172, allocations: 92 kB / 358.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.062e-05/0.03179, allocations: 108.4 kB / 358.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002965/0.03476, allocations: 2.723 MB / 361.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00821/0.04297, allocations: 7.961 MB / 369.4 MB, free: 2.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00201/0.04498, allocations: 1.936 MB / 371.4 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.04623, allocations: 1.227 MB / 372.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/0.04637, allocations: 45.28 kB / 372.6 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.0464, allocations: 47.88 kB / 372.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of pre-optimization done (n=128): time 2.855e-06/0.0464, allocations: 0 / 372.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of matching and sorting (n=132): time 0.006428/0.05283, allocations: 5.318 MB / 378 MB, free: 9.906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.05286, allocations: 64.72 kB / 378.1 MB, free: 9.832 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.05427, allocations: 1.506 MB / 379.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.494e-05/0.05432, allocations: 49.7 kB / 379.6 MB, free: 8.254 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/0.05477, allocations: 0.9627 MB / 380.6 MB, free: 7.281 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.05523, allocations: 456.1 kB / 381 MB, free: 6.832 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.05546, allocations: 218.9 kB / 381.2 MB, free: 6.609 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.43e-05/0.05556, allocations: 357.9 kB / 381.6 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007119/0.05627, allocations: 0.6896 MB / 382.3 MB, free: 5.566 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008071/0.05708, allocations: 0.8784 MB / 383.2 MB, free: 4.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.05863, allocations: 1.605 MB / 384.8 MB, free: 2.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.05864, allocations: 0 / 384.8 MB, free: 2.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002346/0.06098, allocations: 2.295 MB / 387.1 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.061, allocations: 8 kB / 387.1 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.06101, allocations: 4 kB / 387.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.06239, allocations: 0.815 MB / 387.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/0.06305, allocations: 207.7 kB / 388.1 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007878/0.07093, allocations: 10.96 MB / 399 MB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.07137, allocations: 51.95 kB / 399.1 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.756e-05/0.07142, allocations: 44 kB / 399.1 MB, free: 4.121 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0008908/0.07231, allocations: 0.8214 MB / 400 MB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001742/0.07249, allocations: 167 kB / 400.1 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.07494, allocations: 2.253 MB / 402.4 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.07495, allocations: 23.94 kB / 402.4 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.07495, allocations: 4 kB / 402.4 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.07496, allocations: 7.969 kB / 402.4 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004878/0.07984, allocations: 4.43 MB / 406.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.07984, allocations: 0 / 406.8 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000338/0.08018, allocations: 159.8 kB / 407 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001303/0.08148, allocations: 0.812 MB / 407.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.08154, allocations: 31.98 kB / 407.8 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00749/0.08903, allocations: 10.85 MB / 418.7 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.08904, allocations: 7.969 kB / 418.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003171/0.09221, allocations: 3.213 MB / 421.9 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005181/0.09273, allocations: 342.8 kB / 422.2 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.09284, allocations: 31.98 kB / 422.3 MB, free: 12.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.09322, allocations: 63.95 kB / 422.3 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.09341, allocations: 129 kB / 422.5 MB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.09346, allocations: 35.98 kB / 422.5 MB, free: 12.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001038/0.0945, allocations: 1.06 MB / 423.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0945, allocations: 0 / 423.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00106/0.09556, allocations: 0.5117 MB / 424.1 MB, free: 10.55 MB / 394.7 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.003578/0.09914, allocations: 3.867 MB / 427.9 MB, free: 6.637 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002439/0.1016, allocations: 2.358 MB / 430.3 MB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1016, allocations: 3.984 kB / 430.3 MB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.103, allocations: 1.585 MB / 431.9 MB, free: 2.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.1041, allocations: 0.5061 MB / 432.4 MB, free: 2.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02107/0.1251, allocations: 17.69 MB / 450.1 MB, free: 72 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1216/0.2467, allocations: 1.469 MB / 451.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008091/0.2476, allocations: 309.6 kB / 451.9 MB, free: 114.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005667/0.2481, allocations: 0.7866 MB / 452.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/0.2481, allocations: 0 / 452.6 MB, free: 114.9 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05421/0.3023, allocations: 53.23 MB / 0.494 GB, free: 68.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.118/9.42, allocations: 11.94 kB / 0.494 GB, free: 68.26 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 11.164460849948227]