Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001429/0.00143, allocations: 118.2 kB / 17.78 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.001848/0.001848, allocations: 205.2 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 59.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.266, allocations: 50.54 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006851/0.2729, allocations: 6.252 MB / 415.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003295/0.2762, allocations: 1.694 MB / 417.2 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006059/0.2768, allocations: 43.88 kB / 417.2 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005381/0.2774, allocations: 297.5 kB / 417.5 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001209/0.2786, allocations: 429.2 kB / 417.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007346/0.2794, allocations: 347.5 kB / 418.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002186/0.2816, allocations: 2.137 MB / 420.4 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.284, allocations: 2.449 MB / 422.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001492/0.2855, allocations: 1.028 MB / 423.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.287, allocations: 1.218 MB / 425.1 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000318/0.2873, allocations: 288 kB / 425.4 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.2879, allocations: 415.8 kB / 425.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005503/0.2885, allocations: 0.6935 MB / 426.5 MB, free: 204 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.2897, allocations: 1.237 MB / 427.7 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003591/0.2933, allocations: 3.647 MB / 431.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.2934, allocations: 0 / 431.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2934, allocations: 0 / 431.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.373e-05/0.2935, allocations: 0 / 431.4 MB, free: 11.3 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.00405/0.2975, allocations: 2.532 MB / 433.9 MB, free: 8.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2975, allocations: 8.031 kB / 433.9 MB, free: 8.695 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006262/0.2982, allocations: 267.4 kB / 434.2 MB, free: 8.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.3, allocations: 1.319 MB / 435.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/0.3001, allocations: 152.5 kB / 435.6 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002585/0.3004, allocations: 212.1 kB / 435.8 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003844/0.3042, allocations: 2.614 MB / 438.5 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/0.3043, allocations: 4 kB / 438.5 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001697/0.3045, allocations: 84 kB / 438.5 MB, free: 3.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/0.3045, allocations: 52 kB / 438.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003224/0.3078, allocations: 2.089 MB / 440.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009546/0.3173, allocations: 7.309 MB / 448 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002074/0.3194, allocations: 2.352 MB / 450.3 MB, free: 7.691 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.3208, allocations: 0.9435 MB / 451.3 MB, free: 6.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/0.3209, allocations: 20.92 kB / 451.3 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.3209, allocations: 43.56 kB / 451.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.865e-06/0.3209, allocations: 0 / 451.4 MB, free: 6.672 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007244/0.3282, allocations: 4.211 MB / 455.6 MB, free: 2.336 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.3283, allocations: 68.34 kB / 455.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001133/0.3294, allocations: 0.8604 MB / 456.5 MB, free: 1.387 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.885e-05/0.3295, allocations: 41.7 kB / 456.5 MB, free: 1.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005506/0.33, allocations: 0.8631 MB / 457.4 MB, free: 476 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.3303, allocations: 341.1 kB / 457.7 MB, free: 132 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002743/0.3306, allocations: 178.7 kB / 457.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.3307, allocations: 345.9 kB / 458.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007204/0.3314, allocations: 497.7 kB / 458.7 MB, free: 15.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008311/0.3323, allocations: 0.6694 MB / 459.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001611/0.3339, allocations: 1.201 MB / 460.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3339, allocations: 0 / 460.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002543/0.3365, allocations: 1.636 MB / 462.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3365, allocations: 8 kB / 462.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3365, allocations: 4 kB / 462.2 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.3375, allocations: 470.9 kB / 462.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.3382, allocations: 167.7 kB / 462.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009167/0.3474, allocations: 9.294 MB / 472.2 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.3485, allocations: 51.89 kB / 472.2 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-05/0.3486, allocations: 36 kB / 472.3 MB, free: 0.875 MB / 382.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.001352/0.3499, allocations: 0.6457 MB / 472.9 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.3502, allocations: 103.3 kB / 473 MB, free: 120 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.3505, allocations: 138.2 kB / 473.1 MB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/0.3505, allocations: 15.98 kB / 473.1 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/0.3505, allocations: 3.984 kB / 473.2 MB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.3505, allocations: 7.922 kB / 473.2 MB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.3557, allocations: 3.481 MB / 476.6 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3557, allocations: 0 / 476.6 MB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.3563, allocations: 127.9 kB / 476.8 MB, free: 12.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009532/0.3572, allocations: 451.2 kB / 477.2 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.789e-05/0.3573, allocations: 20 kB / 477.2 MB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008018/0.3653, allocations: 9.215 MB / 486.4 MB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/0.3654, allocations: 12 kB / 486.5 MB, free: 2 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.3687, allocations: 2.305 MB / 488.8 MB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.3691, allocations: 288.4 kB / 489 MB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.3693, allocations: 23.91 kB / 489.1 MB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004324/0.3697, allocations: 39.95 kB / 489.1 MB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002227/0.3699, allocations: 88.81 kB / 489.2 MB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.557e-05/0.37, allocations: 28 kB / 489.2 MB, free: 15.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007671/0.3708, allocations: 0.6122 MB / 489.8 MB, free: 14.58 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3708, allocations: 0 / 489.8 MB, free: 14.58 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001393/0.3722, allocations: 379.9 kB / 490.2 MB, free: 14.21 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.000274/0.3725, allocations: 147.1 kB / 490.3 MB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.375, allocations: 1.83 MB / 492.2 MB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.375, allocations: 0 / 492.2 MB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00155/0.3766, allocations: 1.247 MB / 493.4 MB, free: 10.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.3778, allocations: 306.3 kB / 493.7 MB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005349/0.3832, allocations: 3.663 MB / 497.4 MB, free: 6.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/0.3844, allocations: 1.718 MB / 499.1 MB, free: 5.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004903/0.3849, allocations: 196.8 kB / 499.3 MB, free: 4.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.3851, allocations: 67.44 kB / 499.4 MB, free: 4.863 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3851, allocations: 0 / 499.4 MB, free: 4.863 MB / 414.1 MB Notification: Performance of Templates: time 0.03694/0.4221, allocations: 20.99 MB / 0.5082 GB, free: 80 kB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches