Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.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_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier") translateModel(Modelica.Electrical.Polyphase.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_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 117.6 kB / 17.83 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001794/0.001794, allocations: 208.6 kB / 18.79 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.52/1.52, allocations: 230.4 MB / 250 MB, free: 8.996 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 63.84 kB / 367.3 MB, free: 7.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2681, allocations: 53.31 MB / 420.7 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008959/0.2771, allocations: 6.272 MB / 426.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004608/0.2817, allocations: 1.698 MB / 428.6 MB, free: 328 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008723/0.2826, allocations: 47.81 kB / 428.7 MB, free: 280 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007147/0.2833, allocations: 309.6 kB / 429 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.2849, allocations: 437.1 kB / 429.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.2857, allocations: 351.5 kB / 429.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002532/0.2882, allocations: 2.133 MB / 431.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002393/0.2906, allocations: 1.801 MB / 433.7 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001696/0.2923, allocations: 1.032 MB / 434.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.2948, allocations: 1.234 MB / 435.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005436/0.2953, allocations: 288 kB / 436.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008911/0.2962, allocations: 427.7 kB / 436.6 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.2969, allocations: 0.7051 MB / 437.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.2985, allocations: 1.237 MB / 438.6 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004334/0.3028, allocations: 3.636 MB / 442.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3028, allocations: 0 / 442.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3028, allocations: 7.938 kB / 442.2 MB, free: 2.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.691e-05/0.3029, allocations: 0 / 442.2 MB, free: 2.613 MB / 350.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.005124/0.3081, allocations: 2.532 MB / 444.8 MB, free: 16 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.3081, allocations: 12.03 kB / 444.8 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007313/0.3088, allocations: 274.4 kB / 445 MB, free: 15.73 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002153/0.311, allocations: 1.315 MB / 446.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001278/0.3111, allocations: 152.5 kB / 446.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003127/0.3114, allocations: 209.1 kB / 446.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004611/0.316, allocations: 2.614 MB / 449.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.3161, allocations: 0 / 449.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001792/0.3163, allocations: 83.94 kB / 449.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-05/0.3163, allocations: 56 kB / 449.5 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003639/0.32, allocations: 2.093 MB / 451.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.3315, allocations: 7.301 MB / 458.9 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.3341, allocations: 2.282 MB / 461.1 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.3356, allocations: 0.885 MB / 462 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.04e-05/0.3357, allocations: 13 kB / 462 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.3357, allocations: 47.5 kB / 462.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.426e-06/0.3357, allocations: 3.938 kB / 462.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=97): time 0.008122/0.3438, allocations: 4.204 MB / 466.3 MB, free: 9.785 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3439, allocations: 64.34 kB / 466.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3451, allocations: 0.8681 MB / 467.2 MB, free: 8.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.148e-05/0.3452, allocations: 41.7 kB / 467.3 MB, free: 8.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006592/0.3458, allocations: 0.8591 MB / 468.1 MB, free: 7.914 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.3461, allocations: 337.1 kB / 468.4 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002897/0.3464, allocations: 182.6 kB / 468.6 MB, free: 7.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3466, allocations: 353.9 kB / 469 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008091/0.3474, allocations: 493.7 kB / 469.5 MB, free: 6.562 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009537/0.3483, allocations: 0.6694 MB / 470.1 MB, free: 5.828 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.3501, allocations: 1.205 MB / 471.3 MB, free: 4.559 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3501, allocations: 0 / 471.3 MB, free: 4.559 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002768/0.3529, allocations: 1.621 MB / 472.9 MB, free: 2.918 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3529, allocations: 4 kB / 473 MB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.3529, allocations: 8 kB / 473 MB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.3541, allocations: 470.9 kB / 473.4 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.3547, allocations: 163.8 kB / 473.6 MB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009665/0.3644, allocations: 9.294 MB / 482.9 MB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006437/0.365, allocations: 43.95 kB / 482.9 MB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.936e-05/0.3651, allocations: 39.98 kB / 483 MB, free: 8.34 MB / 398.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.001056/0.3662, allocations: 0.6506 MB / 483.6 MB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002206/0.3664, allocations: 111.3 kB / 483.7 MB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.3666, allocations: 130.1 kB / 483.8 MB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.093e-05/0.3667, allocations: 15.98 kB / 483.9 MB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3667, allocations: 0 / 483.9 MB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.3667, allocations: 3.984 kB / 483.9 MB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005742/0.3724, allocations: 3.462 MB / 487.3 MB, free: 3.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-05/0.3724, allocations: 8 kB / 487.3 MB, free: 3.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.373, allocations: 135.8 kB / 487.5 MB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.3741, allocations: 450.9 kB / 487.9 MB, free: 3.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/0.3742, allocations: 24 kB / 487.9 MB, free: 3.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01015/0.3843, allocations: 9.208 MB / 497.1 MB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3843, allocations: 0 / 497.1 MB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/0.3883, allocations: 2.305 MB / 499.4 MB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005529/0.3888, allocations: 284.4 kB / 499.7 MB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002636/0.3891, allocations: 16 kB / 499.7 MB, free: 6.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000581/0.3897, allocations: 43.95 kB / 499.8 MB, free: 6.793 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002618/0.3899, allocations: 92.81 kB / 499.9 MB, free: 6.703 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-05/0.39, allocations: 31.92 kB / 499.9 MB, free: 6.672 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009794/0.391, allocations: 0.6122 MB / 0.4888 GB, free: 6.066 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.391, allocations: 0 / 0.4888 GB, free: 6.066 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001533/0.3925, allocations: 379.9 kB / 0.4891 GB, free: 5.695 MB / 414.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.0002814/0.3928, allocations: 142.9 kB / 0.4893 GB, free: 5.551 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003012/0.3958, allocations: 1.795 MB / 0.491 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3958, allocations: 0 / 0.491 GB, free: 3.703 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001797/0.3976, allocations: 1.204 MB / 0.4922 GB, free: 2.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.399, allocations: 295.2 kB / 0.4925 GB, free: 2.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/0.406, allocations: 3.665 MB / 0.4961 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001576/0.4076, allocations: 1.722 MB / 0.4978 GB, free: 12.7 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006906/0.4083, allocations: 192.9 kB / 0.4979 GB, free: 12.51 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.4085, allocations: 59.44 kB / 0.498 GB, free: 12.45 MB / 430.1 MB Notification: Performance of SimCode: time 2.294e-06/0.4085, allocations: 4 kB / 0.498 GB, free: 12.45 MB / 430.1 MB Notification: Performance of Templates: time 0.04115/0.4496, allocations: 21.19 MB / 0.5187 GB, free: 7.484 MB / 446.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches