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.001285/0.001285, allocations: 119.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 206.7 kB / 19.41 MB, free: 3.664 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.454/1.454, allocations: 227.7 MB / 247.9 MB, free: 10.24 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.001944/0.001944, allocations: 71.88 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2357, allocations: 50.54 MB / 410.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008447/0.2441, allocations: 6.265 MB / 416.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004304/0.2484, allocations: 1.69 MB / 418.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.2495, allocations: 47.81 kB / 418.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007806/0.2503, allocations: 305.5 kB / 418.5 MB, free: 9.098 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.252, allocations: 441.2 kB / 418.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007586/0.2527, allocations: 339.5 kB / 419.3 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00259/0.2553, allocations: 2.145 MB / 421.4 MB, free: 6.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002412/0.2577, allocations: 1.793 MB / 423.2 MB, free: 4.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.2593, allocations: 1.036 MB / 424.2 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.2612, allocations: 1.218 MB / 425.5 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003968/0.2616, allocations: 292 kB / 425.7 MB, free: 1.773 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000705/0.2623, allocations: 403.8 kB / 426.1 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006618/0.2629, allocations: 0.7012 MB / 426.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.2645, allocations: 1.241 MB / 428.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004086/0.2686, allocations: 3.64 MB / 431.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2686, allocations: 4 kB / 431.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2686, allocations: 7.938 kB / 431.7 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.254e-05/0.2687, allocations: 0 / 431.7 MB, free: 11.77 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.00507/0.2737, allocations: 2.528 MB / 434.3 MB, free: 9.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.2738, allocations: 12.03 kB / 434.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007259/0.2745, allocations: 267.4 kB / 434.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002279/0.2768, allocations: 1.323 MB / 435.9 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.2769, allocations: 156.5 kB / 436 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000316/0.2772, allocations: 208.1 kB / 436.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004396/0.2816, allocations: 2.618 MB / 438.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.2817, allocations: 0 / 438.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001811/0.2818, allocations: 84 kB / 438.9 MB, free: 4.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.56e-05/0.2819, allocations: 52 kB / 439 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003706/0.2856, allocations: 2.085 MB / 441 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01269/0.2983, allocations: 7.305 MB / 448.3 MB, free: 10.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.3009, allocations: 2.278 MB / 450.6 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.3024, allocations: 0.885 MB / 451.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/0.3025, allocations: 16.94 kB / 451.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.3025, allocations: 51.5 kB / 451.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 2.835e-06/0.3025, allocations: 0 / 451.6 MB, free: 7.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008267/0.3108, allocations: 4.204 MB / 455.8 MB, free: 2.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.3109, allocations: 64.34 kB / 455.8 MB, free: 2.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.3121, allocations: 0.8721 MB / 456.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.305e-05/0.3122, allocations: 41.7 kB / 456.8 MB, free: 1.941 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007049/0.3129, allocations: 0.8553 MB / 457.6 MB, free: 1.074 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003156/0.3132, allocations: 337.1 kB / 457.9 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.3135, allocations: 182.6 kB / 458.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001816/0.3137, allocations: 341.9 kB / 458.5 MB, free: 224 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008487/0.3146, allocations: 0.49 MB / 458.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009577/0.3155, allocations: 0.6733 MB / 459.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.3173, allocations: 1.197 MB / 460.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.3173, allocations: 4 kB / 460.8 MB, free: 13.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002821/0.3201, allocations: 1.617 MB / 462.4 MB, free: 12.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.3202, allocations: 10.81 kB / 462.4 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3202, allocations: 4 kB / 462.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.3214, allocations: 478.8 kB / 462.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/0.322, allocations: 171.8 kB / 463.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009999/0.332, allocations: 9.286 MB / 472.4 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009853/0.333, allocations: 51.89 kB / 472.4 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-05/0.3331, allocations: 36 kB / 472.5 MB, free: 1.496 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.001135/0.3342, allocations: 0.6418 MB / 473.1 MB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002587/0.3345, allocations: 107.3 kB / 473.2 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003026/0.3348, allocations: 142.2 kB / 473.3 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/0.3348, allocations: 11.98 kB / 473.4 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.749e-05/0.3349, allocations: 4.594 kB / 473.4 MB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3349, allocations: 11.92 kB / 473.4 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006155/0.341, allocations: 3.466 MB / 476.8 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.341, allocations: 0 / 476.8 MB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005674/0.3416, allocations: 123.9 kB / 477 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.3426, allocations: 458.9 kB / 477.4 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.134e-05/0.3427, allocations: 19.98 kB / 477.4 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009747/0.3524, allocations: 9.207 MB / 486.6 MB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3524, allocations: 0 / 486.6 MB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003762/0.3562, allocations: 2.301 MB / 488.9 MB, free: 320 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006471/0.3568, allocations: 280.4 kB / 489.2 MB, free: 20 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.3569, allocations: 20 kB / 489.2 MB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.3574, allocations: 48.55 kB / 489.3 MB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.3576, allocations: 92.75 kB / 489.4 MB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.235e-05/0.3577, allocations: 27.98 kB / 489.4 MB, free: 15.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008833/0.3586, allocations: 0.6122 MB / 490 MB, free: 15.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3586, allocations: 0 / 490 MB, free: 15.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001602/0.3602, allocations: 383.9 kB / 490.4 MB, free: 14.85 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.0003192/0.3605, allocations: 147.2 kB / 490.5 MB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002962/0.3635, allocations: 1.777 MB / 492.3 MB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.3635, allocations: 4 kB / 492.3 MB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001883/0.3654, allocations: 1.207 MB / 493.5 MB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.3668, allocations: 306 kB / 493.8 MB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006442/0.3732, allocations: 3.663 MB / 497.5 MB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.3748, allocations: 1.718 MB / 499.2 MB, free: 5.859 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006549/0.3754, allocations: 192.9 kB / 499.4 MB, free: 5.668 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.3756, allocations: 67.44 kB / 499.4 MB, free: 5.602 MB / 414.1 MB Notification: Performance of SimCode: time 1.653e-06/0.3756, allocations: 0 / 499.4 MB, free: 5.602 MB / 414.1 MB Notification: Performance of Templates: time 0.03871/0.4143, allocations: 21.13 MB / 0.5084 GB, free: 0.7109 MB / 430.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/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