Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|cDC1.v|cDC2.v|supplyL.inductor.2..i|supplyL.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 94.81 kB / 17.3 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.00139, allocations: 184.1 kB / 18.21 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.842/1.842, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000553/0.0005535, allocations: 16 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1595, allocations: 47.59 MB / 329 MB, free: 3.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.008091/0.1676, allocations: 5.681 MB / 334.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005234/0.1729, allocations: 1.637 MB / 336.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.1743, allocations: 39.81 kB / 336.3 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.175, allocations: 230.4 kB / 336.5 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.1767, allocations: 377.9 kB / 336.9 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008777/0.1776, allocations: 303.7 kB / 337.2 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003069/0.1807, allocations: 2.269 MB / 339.5 MB, free: 9.199 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002904/0.1836, allocations: 1.978 MB / 341.5 MB, free: 7.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.1854, allocations: 0.7235 MB / 342.2 MB, free: 6.434 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.1874, allocations: 0.9759 MB / 343.2 MB, free: 5.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002593/0.1877, allocations: 128 kB / 343.3 MB, free: 5.328 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000702/0.1884, allocations: 255.7 kB / 343.5 MB, free: 5.078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005534/0.1889, allocations: 0.506 MB / 344 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.1903, allocations: 1.012 MB / 345 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004209/0.1946, allocations: 3.379 MB / 348.4 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.1946, allocations: 0 / 348.4 MB, free: 160 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.1946, allocations: 0 / 348.4 MB, free: 160 kB / 286.1 MB Notification: Performance of Transformations before backend: time 0.000162/0.1948, allocations: 0 / 348.4 MB, free: 160 kB / 286.1 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.005715/0.2005, allocations: 2.09 MB / 350.5 MB, free: 14 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.953e-05/0.2006, allocations: 8.031 kB / 350.5 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008434/0.2014, allocations: 234.2 kB / 350.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002689/0.2041, allocations: 1.17 MB / 351.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/0.2043, allocations: 156.5 kB / 352.1 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000382/0.2047, allocations: 204.1 kB / 352.3 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006198/0.2109, allocations: 2.622 MB / 354.9 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.531e-05/0.211, allocations: 4 kB / 354.9 MB, free: 9.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001925/0.2112, allocations: 80 kB / 355 MB, free: 9.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.782e-05/0.2113, allocations: 52 kB / 355 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004227/0.2156, allocations: 2.093 MB / 357.1 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01488/0.2305, allocations: 7.466 MB / 364.6 MB, free: 15.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/0.2346, allocations: 2.354 MB / 366.9 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.2365, allocations: 0.9471 MB / 367.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.047e-05/0.2366, allocations: 12.94 kB / 367.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/0.2367, allocations: 47.56 kB / 367.9 MB, free: 11.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 5.65e-06/0.2367, allocations: 0 / 367.9 MB, free: 11.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.009675/0.2464, allocations: 4.228 MB / 372.2 MB, free: 7.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.2465, allocations: 64.34 kB / 372.2 MB, free: 7.562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/0.248, allocations: 0.8602 MB / 373.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.117e-05/0.2481, allocations: 41.7 kB / 373.1 MB, free: 6.645 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007699/0.2488, allocations: 0.8372 MB / 374 MB, free: 5.793 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003417/0.2492, allocations: 327.2 kB / 374.3 MB, free: 5.469 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.2493, allocations: 89.67 kB / 374.4 MB, free: 5.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002168/0.2496, allocations: 341.9 kB / 374.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008579/0.2504, allocations: 0.4937 MB / 375.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.2515, allocations: 0.6811 MB / 375.9 MB, free: 3.793 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.2534, allocations: 1.217 MB / 377.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.2534, allocations: 0 / 377.1 MB, free: 2.512 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.003023/0.2564, allocations: 1.632 MB / 378.7 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.666e-05/0.2565, allocations: 11.94 kB / 378.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.2565, allocations: 4 kB / 378.8 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.2578, allocations: 470.9 kB / 379.2 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/0.2585, allocations: 175.8 kB / 379.4 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3307/0.5893, allocations: 8.465 MB / 387.9 MB, free: 45.35 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.5904, allocations: 53.91 kB / 387.9 MB, free: 45.33 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.5905, allocations: 36.23 kB / 387.9 MB, free: 45.32 MB / 318.1 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.001972/0.5925, allocations: 0.6308 MB / 388.6 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004613/0.593, allocations: 100.5 kB / 388.7 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.5934, allocations: 135 kB / 388.8 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.564e-05/0.5935, allocations: 19.34 kB / 388.8 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.601e-05/0.5935, allocations: 2.609 kB / 388.8 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.908e-05/0.5936, allocations: 4.219 kB / 388.8 MB, free: 44.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009105/0.6027, allocations: 3.531 MB / 392.4 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.6027, allocations: 0.8125 kB / 392.4 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007029/0.6035, allocations: 130.3 kB / 392.5 MB, free: 43.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.6047, allocations: 453.7 kB / 392.9 MB, free: 43.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.318e-05/0.6048, allocations: 29.91 kB / 393 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008805/0.6136, allocations: 8.386 MB / 401.3 MB, free: 36.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6137, allocations: 0 / 401.3 MB, free: 36.7 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00416/0.6178, allocations: 2.327 MB / 403.7 MB, free: 35.65 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/0.6185, allocations: 277.3 kB / 403.9 MB, free: 35.45 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.6186, allocations: 25.45 kB / 404 MB, free: 35.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.6191, allocations: 49.33 kB / 404 MB, free: 35.4 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/0.6193, allocations: 84.19 kB / 404.1 MB, free: 35.36 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/0.6194, allocations: 20.25 kB / 404.1 MB, free: 35.35 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001008/0.6204, allocations: 0.6099 MB / 404.7 MB, free: 35 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6204, allocations: 0 / 404.7 MB, free: 35 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002115/0.6226, allocations: 383.8 kB / 405.1 MB, free: 34.97 MB / 318.1 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.0004334/0.623, allocations: 142.1 kB / 405.2 MB, free: 34.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.6259, allocations: 1.821 MB / 407.1 MB, free: 33.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.6259, allocations: 0 / 407.1 MB, free: 33.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.6276, allocations: 1.238 MB / 408.3 MB, free: 32.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.6293, allocations: 281.5 kB / 408.6 MB, free: 32.69 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007035/0.6363, allocations: 4.578 MB / 413.2 MB, free: 28.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/0.6378, allocations: 1.722 MB / 414.9 MB, free: 26.86 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007146/0.6385, allocations: 184.9 kB / 415.1 MB, free: 26.68 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.6387, allocations: 67.42 kB / 415.1 MB, free: 26.61 MB / 318.1 MB Notification: Performance of SimCode: time 1.573e-06/0.6387, allocations: 3.938 kB / 415.1 MB, free: 26.61 MB / 318.1 MB Notification: Performance of Templates: time 0.03476/0.6735, allocations: 19.34 MB / 434.5 MB, free: 7.273 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches