Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.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.0.0_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.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 112.3 kB / 17.74 MB, free: 5.34 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.001213/0.001213, allocations: 187 kB / 18.67 MB, free: 4.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 47.94 kB / 352 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2716, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007722/0.2793, allocations: 6.236 MB / 407.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003321/0.2827, allocations: 1.636 MB / 409.3 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008059/0.2835, allocations: 47.81 kB / 409.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007417/0.2843, allocations: 289.6 kB / 409.6 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.2862, allocations: 429.2 kB / 410 MB, free: 192 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000832/0.2871, allocations: 343.6 kB / 410.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0025/0.2896, allocations: 2.145 MB / 412.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002761/0.2924, allocations: 2.438 MB / 414.9 MB, free: 11.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.2939, allocations: 1.032 MB / 416 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001855/0.2957, allocations: 1.218 MB / 417.2 MB, free: 8.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006286/0.2964, allocations: 295.9 kB / 417.5 MB, free: 8.645 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.2975, allocations: 431.7 kB / 417.9 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008413/0.2983, allocations: 0.6974 MB / 418.6 MB, free: 7.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001894/0.3002, allocations: 1.233 MB / 419.8 MB, free: 6.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.3043, allocations: 3.627 MB / 423.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3043, allocations: 0 / 423.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3043, allocations: 0 / 423.5 MB, free: 2.652 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000119/0.3044, allocations: 0 / 423.5 MB, free: 2.652 MB / 334.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.005586/0.31, allocations: 2.472 MB / 425.9 MB, free: 120 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.3101, allocations: 15.89 kB / 425.9 MB, free: 104 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004895/0.3106, allocations: 226.3 kB / 426.2 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002418/0.313, allocations: 1.291 MB / 427.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.3131, allocations: 156.5 kB / 427.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.3135, allocations: 204.1 kB / 427.8 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005554/0.319, allocations: 2.618 MB / 430.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.545e-05/0.3191, allocations: 0 / 430.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003831/0.3195, allocations: 80 kB / 430.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.3196, allocations: 52 kB / 430.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004152/0.3238, allocations: 2.089 MB / 432.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01257/0.3364, allocations: 7.294 MB / 439.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002299/0.3387, allocations: 2.348 MB / 442.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.3402, allocations: 0.9475 MB / 443.2 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.072e-05/0.3403, allocations: 12.94 kB / 443.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.3403, allocations: 43.56 kB / 443.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.827e-06/0.3404, allocations: 0 / 443.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.008294/0.3487, allocations: 4.173 MB / 447.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.441e-05/0.3487, allocations: 68.34 kB / 447.5 MB, free: 9.797 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.3501, allocations: 0.8678 MB / 448.4 MB, free: 8.922 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001078/0.3502, allocations: 41.7 kB / 448.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005403/0.3508, allocations: 0.8256 MB / 449.3 MB, free: 8.035 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003116/0.3511, allocations: 327.3 kB / 449.6 MB, free: 7.711 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003039/0.3514, allocations: 182.5 kB / 449.8 MB, free: 7.527 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3516, allocations: 349.9 kB / 450.1 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008188/0.3524, allocations: 493.7 kB / 450.6 MB, free: 6.695 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009397/0.3533, allocations: 0.6733 MB / 451.3 MB, free: 5.957 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001783/0.3551, allocations: 1.201 MB / 452.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/0.3552, allocations: 0 / 452.5 MB, free: 4.691 MB / 366.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002833/0.358, allocations: 1.628 MB / 454.1 MB, free: 3.043 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.3581, allocations: 8 kB / 454.1 MB, free: 3.035 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.3581, allocations: 11.94 kB / 454.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.3593, allocations: 463 kB / 454.6 MB, free: 2.559 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.36, allocations: 171.7 kB / 454.7 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009573/0.3696, allocations: 9.276 MB / 464 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007943/0.3705, allocations: 51.88 kB / 464.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.3706, allocations: 36 kB / 464.1 MB, free: 8.469 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.001214/0.3718, allocations: 0.6419 MB / 464.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003057/0.3722, allocations: 99.33 kB / 464.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003203/0.3725, allocations: 134 kB / 465 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.911e-05/0.3725, allocations: 12.11 kB / 465 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-05/0.3726, allocations: 11.94 kB / 465 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3726, allocations: 7.922 kB / 465 MB, free: 7.547 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006969/0.3795, allocations: 3.473 MB / 468.5 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.3796, allocations: 0 / 468.5 MB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006246/0.3802, allocations: 123.9 kB / 468.6 MB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.3813, allocations: 458.9 kB / 469 MB, free: 3.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/0.3814, allocations: 27.97 kB / 469.1 MB, free: 3.379 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009275/0.3907, allocations: 9.202 MB / 478.3 MB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3908, allocations: 0.5625 kB / 478.3 MB, free: 9.621 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003874/0.3946, allocations: 2.312 MB / 480.6 MB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008121/0.3955, allocations: 279.9 kB / 480.9 MB, free: 6.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.3957, allocations: 16 kB / 480.9 MB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000576/0.3963, allocations: 43.95 kB / 480.9 MB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.3966, allocations: 84.81 kB / 481 MB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.457e-05/0.3967, allocations: 36.05 kB / 481 MB, free: 6.805 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001136/0.3978, allocations: 0.6044 MB / 481.6 MB, free: 6.207 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3979, allocations: 0 / 481.6 MB, free: 6.207 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001789/0.3996, allocations: 383.9 kB / 482 MB, free: 5.832 MB / 398.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.0004059/0.4001, allocations: 161.8 kB / 482.2 MB, free: 5.668 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003169/0.4032, allocations: 1.823 MB / 484 MB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.4033, allocations: 0 / 484 MB, free: 3.793 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001819/0.4051, allocations: 1.243 MB / 485.2 MB, free: 2.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001714/0.4068, allocations: 291 kB / 485.5 MB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006861/0.4137, allocations: 3.575 MB / 489.1 MB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/0.4154, allocations: 1.687 MB / 490.8 MB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.4158, allocations: 75.42 kB / 490.9 MB, free: 12.8 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4158, allocations: 0 / 490.9 MB, free: 12.8 MB / 414.1 MB Notification: Performance of Templates: time 0.06487/0.4806, allocations: 58.78 MB / 0.5367 GB, free: 2.043 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches