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.001007/0.001007, 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.001038/0.001038, 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.338/1.338, 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.001311/0.001311, allocations: 47.92 kB / 328.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08289/0.08421, 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.1796/0.2638, allocations: 6.183 MB / 381.3 MB, free: 9.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004594/0.2685, allocations: 1.683 MB / 383 MB, free: 9.465 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001381/0.2699, allocations: 42.41 kB / 383 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.2711, allocations: 292.5 kB / 383.3 MB, free: 9.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001938/0.273, allocations: 421.1 kB / 383.7 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.2741, allocations: 351.5 kB / 384.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002564/0.2767, allocations: 2.159 MB / 386.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.2792, allocations: 2.388 MB / 388.6 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001496/0.2807, allocations: 1.019 MB / 389.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.2824, allocations: 1.217 MB / 390.9 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003798/0.2828, allocations: 289.2 kB / 391.1 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007654/0.2836, allocations: 425.6 kB / 391.6 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005804/0.2842, allocations: 0.7041 MB / 392.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001198/0.2854, allocations: 1.239 MB / 393.5 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003549/0.2889, allocations: 3.619 MB / 397.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2889, allocations: 0 / 397.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.289, allocations: 0 / 397.1 MB, free: 3.328 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.968e-05/0.289, 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.004168/0.2932, allocations: 2.452 MB / 399.6 MB, free: 1.832 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.2933, allocations: 13.48 kB / 399.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003981/0.2937, allocations: 228.3 kB / 399.8 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/0.2953, allocations: 1.189 MB / 401 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.2954, allocations: 155.7 kB / 401.2 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000294/0.2957, allocations: 205 kB / 401.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/0.2997, allocations: 2.617 MB / 404 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.903e-05/0.2997, allocations: 0 / 404 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001866/0.2999, allocations: 81.66 kB / 404.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.068e-05/0.3, allocations: 53.03 kB / 404.1 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003887/0.3039, allocations: 2.082 MB / 406.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.3146, allocations: 7.309 MB / 413.5 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002237/0.3168, allocations: 2.347 MB / 415.8 MB, free: 6.266 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.3182, allocations: 0.955 MB / 416.8 MB, free: 5.312 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.079e-05/0.3182, allocations: 16.98 kB / 416.8 MB, free: 5.297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.3183, allocations: 51.42 kB / 416.9 MB, free: 5.238 MB / 334.1 MB Notification: Performance of pre-optimization done (n=96): time 7.254e-06/0.3183, allocations: 3.984 kB / 416.9 MB, free: 5.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=97): time 0.008599/0.3269, allocations: 4.177 MB / 421.1 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.327, allocations: 60.41 kB / 421.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.3284, allocations: 0.868 MB / 422 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.186e-05/0.3285, allocations: 45.69 kB / 422 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005739/0.3291, allocations: 0.8263 MB / 422.8 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.3294, allocations: 323.3 kB / 423.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002704/0.3296, allocations: 170.6 kB / 423.3 MB, free: 14.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.3298, allocations: 349.9 kB / 423.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007483/0.3305, allocations: 0.4899 MB / 424.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008564/0.3314, allocations: 0.6694 MB / 424.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.333, allocations: 1.201 MB / 426 MB, free: 11.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.333, allocations: 0 / 426 MB, free: 11.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002658/0.3357, allocations: 1.636 MB / 427.7 MB, free: 10.1 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.3357, allocations: 8 kB / 427.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.3357, allocations: 4 kB / 427.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.3368, allocations: 463 kB / 428.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.3374, allocations: 175.8 kB / 428.3 MB, free: 9.453 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008222/0.3456, allocations: 9.28 MB / 437.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000673/0.3463, allocations: 44.53 kB / 437.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.3464, 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.001061/0.3475, allocations: 0.6457 MB / 438.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/0.3477, allocations: 102.8 kB / 438.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002443/0.3479, allocations: 138 kB / 438.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.348, allocations: 8 kB / 438.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.812e-05/0.348, allocations: 7.938 kB / 438.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.348, allocations: 7.922 kB / 438.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005352/0.3534, allocations: 3.477 MB / 442 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3534, allocations: 4 kB / 442.1 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.3539, allocations: 127.9 kB / 442.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009099/0.3548, allocations: 454.9 kB / 442.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.818e-05/0.3549, allocations: 20 kB / 442.6 MB, free: 10.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008232/0.3631, allocations: 9.204 MB / 451.8 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3632, allocations: 4.031 kB / 451.8 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/0.3666, allocations: 2.312 MB / 454.2 MB, free: 14.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.3671, allocations: 275.9 kB / 454.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.3672, allocations: 16.09 kB / 454.4 MB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004133/0.3676, allocations: 51.88 kB / 454.5 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002074/0.3678, allocations: 92.81 kB / 454.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/0.3679, allocations: 27.94 kB / 454.6 MB, free: 13.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008122/0.3687, allocations: 0.6083 MB / 455.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3687, allocations: 0 / 455.2 MB, free: 13.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001525/0.3703, 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.0002558/0.3705, allocations: 147 kB / 455.7 MB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002595/0.3731, allocations: 1.819 MB / 457.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3732, allocations: 0 / 457.6 MB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001526/0.3747, 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.001163/0.3759, 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.005847/0.3817, 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.001275/0.383, allocations: 1.714 MB / 464.4 MB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004954/0.3835, 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.0001723/0.3837, allocations: 71.42 kB / 464.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3837, allocations: 0 / 464.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of Templates: time 0.03365/0.4174, 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