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.0008834/0.0008834, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004745/0.004745, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 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 0.9854/0.9854, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 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.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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.13e-05/2.271e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.1351/0.1351, allocations: 6.078 MB / 304.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.1378, allocations: 2.233 MB / 306.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003631/0.1382, allocations: 50.06 kB / 306.8 MB, free: 11.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007528/0.139, allocations: 460.4 kB / 307.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.14, allocations: 0.7167 MB / 308 MB, free: 10.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1403, allocations: 285.1 kB / 308.3 MB, free: 10.53 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001694/0.142, allocations: 3.021 MB / 311.3 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001154/0.1431, allocations: 1.258 MB / 312.5 MB, free: 8.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.1451, allocations: 1.944 MB / 314.5 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.1465, allocations: 1.388 MB / 315.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004038/0.1469, allocations: 349.5 kB / 316.2 MB, free: 6.883 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005311/0.1474, allocations: 435.6 kB / 316.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005061/0.1479, allocations: 0.9226 MB / 317.6 MB, free: 6.305 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001056/0.149, allocations: 1.062 MB / 318.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002616/0.1516, allocations: 4.694 MB / 323.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1516, allocations: 0 / 323.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1516, allocations: 1.312 kB / 323.3 MB, free: 2.844 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.59e-05/0.1517, allocations: 4 kB / 323.3 MB, free: 2.84 MB / 282.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.004743/0.1564, allocations: 2.917 MB / 326.2 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/0.1565, allocations: 13.73 kB / 326.2 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003998/0.1569, allocations: 327.6 kB / 326.6 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000752/0.1576, allocations: 325.5 kB / 326.9 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.1593, allocations: 1.476 MB / 328.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.251e-05/0.1594, allocations: 165.5 kB / 328.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.1596, allocations: 217.7 kB / 328.7 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003378/0.163, allocations: 3.348 MB / 332.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.163, allocations: 0 / 332.1 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.1631, allocations: 92 kB / 332.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-05/0.1632, allocations: 108.4 kB / 332.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002805/0.166, allocations: 2.723 MB / 335 MB, free: 9.902 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00775/0.1738, allocations: 7.99 MB / 343 MB, free: 1.754 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.1756, allocations: 1.926 MB / 344.9 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.1767, allocations: 1.238 MB / 346.2 MB, free: 14.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.1768, allocations: 45.28 kB / 346.2 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.1769, allocations: 51.86 kB / 346.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 2.054e-06/0.1769, allocations: 0 / 346.2 MB, free: 14.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.006302/0.1832, allocations: 5.267 MB / 351.5 MB, free: 9.223 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1832, allocations: 68.66 kB / 351.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.1845, allocations: 1.502 MB / 353.1 MB, free: 7.625 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.091e-05/0.1846, allocations: 49.7 kB / 353.1 MB, free: 7.57 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.185, allocations: 0.9588 MB / 354.1 MB, free: 6.602 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.1853, allocations: 468 kB / 354.5 MB, free: 6.141 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.1855, allocations: 218.9 kB / 354.8 MB, free: 5.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.994e-05/0.1856, allocations: 353.9 kB / 355.1 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000679/0.1863, allocations: 0.6896 MB / 355.8 MB, free: 4.879 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007517/0.187, allocations: 0.8677 MB / 356.7 MB, free: 3.957 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.1884, allocations: 1.617 MB / 358.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.247e-06/0.1884, allocations: 0 / 358.3 MB, free: 2.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002293/0.1907, allocations: 2.303 MB / 360.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.1908, allocations: 4 kB / 360.6 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.1908, allocations: 4 kB / 360.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.1921, allocations: 0.8266 MB / 361.4 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004044/0.1925, allocations: 195.7 kB / 361.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007669/0.2002, allocations: 10.98 MB / 372.6 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005094/0.2007, allocations: 63.97 kB / 372.6 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.2007, allocations: 40 kB / 372.7 MB, free: 3.387 MB / 330.7 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.0008544/0.2016, allocations: 0.8097 MB / 373.5 MB, free: 2.566 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.2018, allocations: 167 kB / 373.7 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.204, allocations: 2.253 MB / 375.9 MB, free: 132 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/0.204, allocations: 20.05 kB / 375.9 MB, free: 112 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.204, allocations: 8 kB / 375.9 MB, free: 104 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.204, allocations: 7.969 kB / 376 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0045/0.2085, allocations: 4.426 MB / 380.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.2085, allocations: 0 / 380.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.2088, allocations: 159.9 kB / 380.5 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.21, allocations: 0.808 MB / 381.3 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/0.2101, allocations: 24 kB / 381.4 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0073/0.2174, allocations: 10.88 MB / 392.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.2174, allocations: 0 / 392.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/0.2203, allocations: 3.217 MB / 395.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.2207, allocations: 342.8 kB / 395.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.2208, allocations: 32 kB / 395.8 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.2212, allocations: 67.94 kB / 395.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.2214, allocations: 125 kB / 396 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.963e-05/0.2215, allocations: 35.98 kB / 396 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009316/0.2224, allocations: 1.056 MB / 397.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2224, allocations: 8 kB / 397.1 MB, free: 10.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001168/0.2236, allocations: 0.5117 MB / 397.6 MB, free: 9.812 MB / 362.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.003596/0.2271, allocations: 3.873 MB / 401.5 MB, free: 5.887 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.2294, allocations: 2.35 MB / 403.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.2294, allocations: 8.312 kB / 403.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.231, allocations: 1.585 MB / 405.4 MB, free: 1.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001162/0.2321, allocations: 0.5002 MB / 405.9 MB, free: 1.336 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/0.251, allocations: 17.68 MB / 423.6 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.2521, allocations: 1.466 MB / 425.1 MB, free: 13.81 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005923/0.2526, allocations: 313.5 kB / 425.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006414/0.2533, allocations: 0.7776 MB / 426.2 MB, free: 12.72 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.2533, allocations: 0 / 426.2 MB, free: 12.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1982/0.4515, allocations: 53.18 MB / 479.3 MB, free: 142 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.201/9.652, allocations: 9.453 kB / 479.4 MB, free: 142 MB / 426.7 MB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/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: 11.558185803703964]