Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.0009468/0.0009468, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.00088/0.00088, allocations: 152.6 kB / 24.81 MB, free: 9.34 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 1.012/1.012, allocations: 173.3 MB / 201.4 MB, free: 9.242 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: translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 268.4 MB, free: 6.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.553e-05, allocations: 6.25 kB / 268.4 MB, free: 6.227 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005746/0.005772, allocations: 5.93 MB / 274.3 MB, free: 268 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.00878, allocations: 1.647 MB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005558/0.009335, allocations: 55.69 kB / 276 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.009824, allocations: 309.5 kB / 276.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001121/0.01094, allocations: 452.7 kB / 276.8 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/0.01153, allocations: 359.3 kB / 277.1 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.01323, allocations: 2.198 MB / 279.3 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.01457, allocations: 1.364 MB / 280.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001945/0.01651, allocations: 1.579 MB / 282.3 MB, free: 8.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.0177, allocations: 1.173 MB / 283.4 MB, free: 7.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.01797, allocations: 292 kB / 283.7 MB, free: 6.773 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.01849, allocations: 415.6 kB / 284.1 MB, free: 6.367 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000415/0.01891, allocations: 0.7285 MB / 284.9 MB, free: 5.637 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006737/0.01958, allocations: 0.8576 MB / 285.7 MB, free: 4.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001601/0.02118, allocations: 2.052 MB / 287.8 MB, free: 2.719 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.02118, allocations: 4 kB / 287.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02119, allocations: 0 / 287.8 MB, free: 2.715 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.209e-05/0.02122, allocations: 0 / 287.8 MB, free: 2.715 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.002786/0.024, allocations: 2.551 MB / 290.3 MB, free: 112 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.02404, allocations: 12.92 kB / 290.3 MB, free: 100 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1215/0.1456, allocations: 403 kB / 290.7 MB, free: 24.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.1471, allocations: 1.054 MB / 291.8 MB, free: 24.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.1472, allocations: 153.8 kB / 291.9 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/0.1474, allocations: 209.8 kB / 292.1 MB, free: 24.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002277/0.1497, allocations: 1.454 MB / 293.6 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.397e-05/0.1497, allocations: 0.9688 kB / 293.6 MB, free: 24.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.1498, allocations: 87.25 kB / 293.7 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.453e-05/0.1499, allocations: 53.75 kB / 293.7 MB, free: 24.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.151, allocations: 0.5204 MB / 294.3 MB, free: 24.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006027/0.157, allocations: 5.656 MB / 299.9 MB, free: 21.69 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007535/0.1577, allocations: 0.7449 MB / 300.7 MB, free: 21.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.1583, allocations: 446 kB / 301.1 MB, free: 21.36 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.487e-05/0.1583, allocations: 17.97 kB / 301.1 MB, free: 21.36 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.1584, allocations: 46.05 kB / 301.2 MB, free: 21.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.887e-06/0.1584, allocations: 1.062 kB / 301.2 MB, free: 21.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.002937/0.1613, allocations: 1.778 MB / 302.9 MB, free: 20.68 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.015e-05/0.1613, allocations: 62.03 kB / 303 MB, free: 20.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005549/0.1619, allocations: 0.7464 MB / 303.7 MB, free: 20.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.1619, allocations: 40.98 kB / 303.8 MB, free: 20.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.1622, allocations: 0.9354 MB / 304.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.1624, allocations: 346.5 kB / 305.1 MB, free: 19.38 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.1626, allocations: 195.6 kB / 305.2 MB, free: 19.29 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.231e-05/0.1627, allocations: 0.5286 MB / 305.8 MB, free: 18.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.1629, allocations: 116.6 kB / 305.9 MB, free: 18.8 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000297/0.1632, allocations: 386 kB / 306.3 MB, free: 18.52 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005542/0.1637, allocations: 0.5497 MB / 306.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1637, allocations: 3.469 kB / 306.8 MB, free: 18.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00108/0.1648, allocations: 0.7911 MB / 307.6 MB, free: 17.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.1648, allocations: 13.28 kB / 307.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.1649, allocations: 2.25 kB / 307.6 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.1654, allocations: 235.6 kB / 307.9 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/0.1658, allocations: 160.1 kB / 308 MB, free: 17.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/0.1698, allocations: 8.992 MB / 317 MB, free: 9.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003678/0.1702, allocations: 31.98 kB / 317 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.1702, allocations: 28 kB / 317.1 MB, free: 9.316 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode2.idealDiode[3].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[1].off,idealDiode1.idealDiode[3].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 2 * 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 {(1,9,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.0003691/0.1706, allocations: 224.6 kB / 317.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/0.1708, allocations: 131.3 kB / 317.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.1709, allocations: 125.8 kB / 317.5 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.1709, allocations: 12 kB / 317.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.1709, allocations: 0 / 317.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1709, allocations: 7.969 kB / 317.6 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00254/0.1734, allocations: 1.854 MB / 319.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.1735, allocations: 4 kB / 319.4 MB, free: 7.066 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.1738, allocations: 111.4 kB / 319.5 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.1742, allocations: 237.8 kB / 319.8 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.1743, allocations: 20 kB / 319.8 MB, free: 6.707 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003895/0.1782, allocations: 8.918 MB / 328.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1782, allocations: 3.75 kB / 328.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.1795, allocations: 1.017 MB / 329.7 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.1798, allocations: 171.2 kB / 329.9 MB, free: 12.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.1799, allocations: 19.91 kB / 329.9 MB, free: 12.26 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002687/0.1802, allocations: 28.06 kB / 329.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/0.1804, allocations: 84.59 kB / 330 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-05/0.1804, allocations: 23.92 kB / 330 MB, free: 12.13 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003821/0.1808, allocations: 439.2 kB / 330.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1808, allocations: 0 / 330.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001381/0.1822, allocations: 376 kB / 330.8 MB, free: 11.37 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 2 * 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 {(1,9,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.0002603/0.1824, allocations: 157.6 kB / 331 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001664/0.1841, allocations: 1.332 MB / 332.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1841, allocations: 0 / 332.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009372/0.185, allocations: 1.123 MB / 333.4 MB, free: 8.68 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009397/0.186, allocations: 279.9 kB / 333.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004927/0.1909, allocations: 3.125 MB / 336.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000544/0.1915, allocations: 0.5258 MB / 337.4 MB, free: 4.703 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003417/0.1918, allocations: 108.7 kB / 337.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00056/0.1924, allocations: 338 kB / 337.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1924, allocations: 0 / 337.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of Templates: time 0.03322/0.2256, allocations: 21.37 MB / 359.2 MB, free: 15.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.386776905041188]