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.001061/0.001061, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001089/0.001089, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.606/1.606, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002031/0.002031, allocations: 59.89 kB / 359.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3007, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007127/0.3079, allocations: 6.249 MB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.3113, allocations: 1.694 MB / 417.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008787/0.3122, allocations: 43.88 kB / 417.9 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007726/0.313, allocations: 293.5 kB / 418.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.3146, allocations: 433.2 kB / 418.6 MB, free: 8.84 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008407/0.3155, allocations: 351.5 kB / 419 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002284/0.3177, allocations: 2.137 MB / 421.1 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.3206, allocations: 2.438 MB / 423.5 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.322, allocations: 1.04 MB / 424.6 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001737/0.3237, allocations: 1.218 MB / 425.8 MB, free: 1.582 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005289/0.3243, allocations: 292 kB / 426.1 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.3251, allocations: 399.8 kB / 426.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006764/0.3258, allocations: 0.7013 MB / 427.2 MB, free: 208 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00132/0.3272, allocations: 1.241 MB / 428.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003146/0.3303, allocations: 3.627 MB / 432 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3303, allocations: 0 / 432 MB, free: 11.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3303, allocations: 0 / 432 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.386e-05/0.3304, allocations: 0 / 432 MB, free: 11.32 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.00446/0.3349, allocations: 2.484 MB / 434.5 MB, free: 8.777 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.3349, allocations: 12.03 kB / 434.5 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/0.3356, allocations: 258.2 kB / 434.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.3379, allocations: 1.302 MB / 436.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.3381, allocations: 164.5 kB / 436.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.3383, allocations: 212 kB / 436.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004186/0.3425, allocations: 2.614 MB / 439.1 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.3426, allocations: 3.984 kB / 439.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.3428, allocations: 84 kB / 439.2 MB, free: 4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.526e-05/0.3428, allocations: 52 kB / 439.2 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0033/0.3462, allocations: 2.081 MB / 441.3 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.3572, allocations: 7.287 MB / 448.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00218/0.3594, allocations: 2.344 MB / 450.9 MB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.3608, allocations: 0.9513 MB / 451.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.888e-05/0.3609, allocations: 12.94 kB / 451.9 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.361, allocations: 43.56 kB / 451.9 MB, free: 6.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.126e-06/0.361, allocations: 0 / 451.9 MB, free: 6.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007409/0.3684, allocations: 4.189 MB / 456.1 MB, free: 2.473 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.201e-05/0.3685, allocations: 68.34 kB / 456.2 MB, free: 2.395 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.3696, allocations: 0.8642 MB / 457 MB, free: 1.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.871e-05/0.3697, allocations: 45.69 kB / 457.1 MB, free: 1.469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005781/0.3703, allocations: 0.8295 MB / 457.9 MB, free: 0.625 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.3705, allocations: 327.2 kB / 458.2 MB, free: 308 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002578/0.3708, allocations: 174.6 kB / 458.4 MB, free: 128 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.371, allocations: 345.9 kB / 458.7 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007471/0.3717, allocations: 0.5015 MB / 459.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008682/0.3726, allocations: 0.669 MB / 459.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/0.3743, allocations: 1.197 MB / 461.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.3743, allocations: 0 / 461.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002675/0.377, allocations: 1.636 MB / 462.7 MB, free: 11.63 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.377, allocations: 8 kB / 462.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.377, allocations: 4 kB / 462.8 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.3781, allocations: 474.9 kB / 463.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.3788, allocations: 171.7 kB / 463.4 MB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009281/0.3881, allocations: 9.278 MB / 472.7 MB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.3889, allocations: 55.83 kB / 472.7 MB, free: 1.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.3891, allocations: 32 kB / 472.8 MB, free: 1.051 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.001234/0.3904, allocations: 0.6458 MB / 473.4 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000289/0.3906, allocations: 106.8 kB / 473.5 MB, free: 296 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002816/0.3909, allocations: 130.1 kB / 473.6 MB, free: 156 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.355e-05/0.391, allocations: 15.98 kB / 473.6 MB, free: 140 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.391, allocations: 4 kB / 473.7 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.391, allocations: 7.922 kB / 473.7 MB, free: 128 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006337/0.3974, allocations: 3.481 MB / 477.1 MB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.3974, allocations: 4 kB / 477.1 MB, free: 12.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006012/0.398, allocations: 127.8 kB / 477.3 MB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/0.399, allocations: 455.3 kB / 477.7 MB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.3991, allocations: 16 kB / 477.7 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009068/0.4082, allocations: 9.21 MB / 486.9 MB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4082, allocations: 0 / 486.9 MB, free: 2.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.4117, allocations: 2.3 MB / 489.2 MB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006153/0.4124, allocations: 287.8 kB / 489.5 MB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.4125, allocations: 20 kB / 489.5 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.413, allocations: 39.95 kB / 489.6 MB, free: 15.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002139/0.4132, allocations: 88.91 kB / 489.7 MB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/0.4133, allocations: 20 kB / 489.7 MB, free: 15.39 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008508/0.4141, allocations: 0.6161 MB / 490.3 MB, free: 14.78 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4142, allocations: 4 kB / 490.3 MB, free: 14.78 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001469/0.4156, allocations: 384 kB / 490.7 MB, free: 14.4 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.0002928/0.4159, allocations: 147 kB / 490.8 MB, free: 14.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002745/0.4187, allocations: 1.82 MB / 492.6 MB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.4187, allocations: 4.062 kB / 492.6 MB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.4204, allocations: 1.242 MB / 493.9 MB, free: 11.08 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.4218, allocations: 291.3 kB / 494.2 MB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005833/0.4276, allocations: 3.591 MB / 497.8 MB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.429, allocations: 1.687 MB / 499.5 MB, free: 5.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002471/0.4293, allocations: 75.42 kB / 499.5 MB, free: 5.371 MB / 414.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4293, allocations: 3.938 kB / 499.5 MB, free: 5.367 MB / 414.1 MB Notification: Performance of Templates: time 0.2433/0.6726, allocations: 59 MB / 0.5454 GB, free: 128.6 MB / 462.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches