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.001047/0.001047, allocations: 104.9 kB / 17.72 MB, free: 5.242 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.001143/0.001143, allocations: 188.1 kB / 18.66 MB, free: 4.312 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.573/1.573, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.00128/0.00128, allocations: 47.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1453, allocations: 46.62 MB / 375.1 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.3089/0.4543, allocations: 6.183 MB / 381.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004519/0.4589, allocations: 1.683 MB / 383 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001253/0.4602, allocations: 42.41 kB / 383 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000891/0.4611, allocations: 292.5 kB / 383.3 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001999/0.4631, allocations: 421.1 kB / 383.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009592/0.4641, allocations: 351.5 kB / 384.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00297/0.4671, allocations: 2.159 MB / 386.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003269/0.4704, allocations: 2.388 MB / 388.6 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.4725, allocations: 1.019 MB / 389.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.4746, allocations: 1.217 MB / 390.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000506/0.4751, allocations: 289.2 kB / 391.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.4762, allocations: 425.6 kB / 391.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.4769, allocations: 0.7041 MB / 392.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.4783, allocations: 1.239 MB / 393.5 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005012/0.4833, allocations: 3.619 MB / 397.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.4833, allocations: 0 / 397.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4834, allocations: 0 / 397.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001081/0.4835, allocations: 7.266 kB / 397.1 MB, free: 3.324 MB / 318.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.006333/0.4898, allocations: 2.452 MB / 399.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.4899, allocations: 13.48 kB / 399.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004762/0.4904, allocations: 228.3 kB / 399.8 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001802/0.4922, allocations: 1.189 MB / 401 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/0.4923, allocations: 155.7 kB / 401.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003119/0.4926, allocations: 205 kB / 401.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005315/0.498, allocations: 2.617 MB / 404 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.848e-05/0.498, allocations: 0 / 404 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002136/0.4982, allocations: 81.66 kB / 404.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.4984, allocations: 53.03 kB / 404.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004595/0.503, allocations: 2.082 MB / 406.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.5157, allocations: 7.309 MB / 413.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002636/0.5184, allocations: 2.347 MB / 415.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.5199, allocations: 0.955 MB / 416.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.349e-05/0.52, allocations: 16.98 kB / 416.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/0.5201, allocations: 51.42 kB / 416.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 5.32e-06/0.5201, allocations: 3.984 kB / 416.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.00792/0.528, allocations: 4.177 MB / 421.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.5281, allocations: 60.41 kB / 421.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/0.5297, allocations: 0.868 MB / 422 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.939e-05/0.5298, allocations: 45.69 kB / 422 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000729/0.5306, allocations: 0.8263 MB / 422.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003577/0.5309, allocations: 323.3 kB / 423.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003461/0.5313, allocations: 170.6 kB / 423.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.5315, allocations: 349.9 kB / 423.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007889/0.5323, allocations: 0.4899 MB / 424.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000837/0.5331, allocations: 0.6694 MB / 424.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001708/0.5348, allocations: 1.201 MB / 426 MB, free: 11.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5348, allocations: 0 / 426 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002582/0.5374, allocations: 1.636 MB / 427.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.5375, allocations: 8 kB / 427.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.5375, allocations: 4 kB / 427.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.5386, allocations: 463 kB / 428.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006709/0.5392, allocations: 175.8 kB / 428.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009219/0.5485, allocations: 9.28 MB / 437.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007455/0.5492, allocations: 44.53 kB / 437.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.02e-05/0.5493, allocations: 39.98 kB / 437.7 MB, free: 15.53 MB / 366.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.00144/0.5508, allocations: 0.6457 MB / 438.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002322/0.551, allocations: 102.8 kB / 438.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003148/0.5513, allocations: 138 kB / 438.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.852e-05/0.5514, allocations: 8 kB / 438.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-05/0.5514, allocations: 7.938 kB / 438.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.5514, allocations: 7.922 kB / 438.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005712/0.5571, allocations: 3.477 MB / 442 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.5572, allocations: 4 kB / 442.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.5577, allocations: 127.9 kB / 442.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009955/0.5587, allocations: 454.9 kB / 442.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.259e-05/0.5588, allocations: 20 kB / 442.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009482/0.5683, allocations: 9.204 MB / 451.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5683, allocations: 4.031 kB / 451.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003549/0.5719, allocations: 2.312 MB / 454.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006671/0.5726, allocations: 275.9 kB / 454.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.5728, allocations: 16.09 kB / 454.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005801/0.5734, allocations: 51.88 kB / 454.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.5737, allocations: 92.81 kB / 454.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.5738, allocations: 27.94 kB / 454.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001134/0.5749, allocations: 0.6083 MB / 455.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.575, allocations: 0 / 455.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002119/0.5771, allocations: 376 kB / 455.6 MB, free: 12.89 MB / 382.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.0004719/0.5776, allocations: 147 kB / 455.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003154/0.5807, allocations: 1.819 MB / 457.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.5808, allocations: 0 / 457.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.5825, allocations: 1.247 MB / 458.8 MB, free: 9.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.5842, allocations: 302 kB / 459.1 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008424/0.5926, allocations: 3.588 MB / 462.7 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/0.5949, allocations: 1.714 MB / 464.4 MB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006239/0.5955, allocations: 188.9 kB / 464.6 MB, free: 3.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.5957, allocations: 71.42 kB / 464.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of SimCode: time 1.513e-06/0.5957, allocations: 0 / 464.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of Templates: time 0.04488/0.6406, allocations: 21.05 MB / 485.7 MB, free: 14.54 MB / 414.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches