Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.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.0009356/0.0009356, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001045/0.001045, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.605 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: 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.1.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.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.489e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.005957/0.005982, allocations: 6.102 MB / 279.1 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0031/0.009082, allocations: 1.694 MB / 280.8 MB, free: 9.695 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006006/0.009682, allocations: 55.62 kB / 280.8 MB, free: 9.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.0102, allocations: 305.5 kB / 281.1 MB, free: 9.34 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001193/0.01139, allocations: 464.6 kB / 281.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006075/0.012, allocations: 355.4 kB / 281.9 MB, free: 8.535 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00176/0.01376, allocations: 2.214 MB / 284.1 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.01558, allocations: 1.356 MB / 285.5 MB, free: 4.895 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/0.01777, allocations: 1.587 MB / 287.1 MB, free: 3.305 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.0201, allocations: 1.161 MB / 288.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000735/0.02083, allocations: 292 kB / 288.5 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007517/0.02159, allocations: 407.7 kB / 288.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005888/0.02217, allocations: 0.7479 MB / 289.7 MB, free: 0.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1461/0.1683, allocations: 0.8606 MB / 290.5 MB, free: 18.61 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.1719, allocations: 2.045 MB / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.1719, allocations: 1.812 kB / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1719, allocations: 0 / 292.6 MB, free: 18.45 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001329/0.1721, allocations: 0 / 292.6 MB, free: 18.45 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.004854/0.1769, allocations: 2.623 MB / 295.2 MB, free: 17.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.177, allocations: 10.59 kB / 295.2 MB, free: 17.34 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008771/0.1778, allocations: 430.5 kB / 295.6 MB, free: 17.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.1797, allocations: 1.176 MB / 296.8 MB, free: 16.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.1799, allocations: 155.7 kB / 297 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002449/0.1801, allocations: 201.9 kB / 297.2 MB, free: 16.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003195/0.1833, allocations: 1.583 MB / 298.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.1833, allocations: 1.219 kB / 298.7 MB, free: 16.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.1835, allocations: 88.38 kB / 298.8 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.225e-05/0.1835, allocations: 52.89 kB / 298.9 MB, free: 16.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.1854, allocations: 0.6876 MB / 299.6 MB, free: 16.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009175/0.1946, allocations: 6.091 MB / 305.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.1958, allocations: 0.832 MB / 306.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007914/0.1966, allocations: 493.6 kB / 307 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.159e-05/0.1966, allocations: 19.91 kB / 307 MB, free: 12.51 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.1966, allocations: 48.8 kB / 307 MB, free: 12.46 MB / 266.7 MB Notification: Performance of pre-optimization done (n=96): time 3.196e-06/0.1966, allocations: 0 / 307 MB, free: 12.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=97): time 0.004745/0.2014, allocations: 2.323 MB / 309.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.2014, allocations: 61.78 kB / 309.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008344/0.2023, allocations: 0.7669 MB / 310.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.731e-05/0.2023, allocations: 44.95 kB / 310.2 MB, free: 10.99 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.2027, allocations: 0.9194 MB / 311.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.2029, allocations: 355.4 kB / 311.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.2031, allocations: 191.4 kB / 311.7 MB, free: 9.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.347e-05/0.2032, allocations: 0.5288 MB / 312.2 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.2035, allocations: 148.6 kB / 312.4 MB, free: 9.203 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.2039, allocations: 418.5 kB / 312.8 MB, free: 8.852 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007546/0.2046, allocations: 0.621 MB / 313.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.368e-06/0.2046, allocations: 0 / 313.4 MB, free: 8.348 MB / 266.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001438/0.2061, allocations: 0.8777 MB / 314.3 MB, free: 7.484 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.453e-05/0.2061, allocations: 8 kB / 314.3 MB, free: 7.477 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2061, allocations: 4 kB / 314.3 MB, free: 7.473 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006552/0.2068, allocations: 259.8 kB / 314.5 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004919/0.2073, allocations: 170.8 kB / 314.7 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005633/0.2129, allocations: 9.196 MB / 323.9 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.2135, allocations: 45.41 kB / 323.9 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.359e-05/0.2135, allocations: 39.98 kB / 324 MB, free: 13.37 MB / 282.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.0006374/0.2142, allocations: 222.6 kB / 324.2 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.2144, allocations: 131.3 kB / 324.3 MB, free: 13.03 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.2145, allocations: 132.7 kB / 324.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.2146, allocations: 11.94 kB / 324.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.632e-05/0.2146, allocations: 4 kB / 324.5 MB, free: 12.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.2146, allocations: 3.984 kB / 324.5 MB, free: 12.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003904/0.2185, allocations: 2.318 MB / 326.8 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.2185, allocations: 4 kB / 326.8 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.2189, allocations: 119.4 kB / 326.9 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006434/0.2196, allocations: 262 kB / 327.2 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/0.2196, allocations: 23.98 kB / 327.2 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006256/0.2259, allocations: 9.121 MB / 336.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2259, allocations: 7.938 kB / 336.3 MB, free: 0.5625 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.2278, allocations: 1.152 MB / 337.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004196/0.2282, allocations: 187.3 kB / 337.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.2283, allocations: 27.98 kB / 337.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/0.2286, allocations: 35.97 kB / 337.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.2288, allocations: 96.38 kB / 337.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/0.2288, allocations: 38.66 kB / 337.8 MB, free: 15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005643/0.2294, allocations: 470.9 kB / 338.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2294, allocations: 0 / 338.3 MB, free: 14.55 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001635/0.231, allocations: 379.9 kB / 338.7 MB, free: 14.18 MB / 298.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.0004261/0.2315, allocations: 151.3 kB / 338.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.2332, allocations: 1.403 MB / 340.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.2332, allocations: 0 / 340.2 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.2343, allocations: 1.156 MB / 341.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001068/0.2354, allocations: 299 kB / 341.7 MB, free: 11.08 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.2409, allocations: 3.15 MB / 344.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004716/0.2414, allocations: 0.5259 MB / 345.4 MB, free: 7.34 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004142/0.2418, allocations: 156.7 kB / 345.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.242, allocations: 68.5 kB / 345.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of SimCode: time 1.843e-06/0.242, allocations: 0 / 345.6 MB, free: 7.117 MB / 298.7 MB Notification: Performance of Templates: time 0.02669/0.2687, allocations: 20 MB / 365.6 MB, free: 3.465 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.8174071088433266]