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.00129/0.00129, allocations: 116.9 kB / 18.4 MB, free: 4.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001357/0.001357, allocations: 204.5 kB / 19.35 MB, free: 3.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.3 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.08997, allocations: 50.53 MB / 358.9 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006976/0.09699, allocations: 6.235 MB / 365.1 MB, free: 7.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002683/0.09969, allocations: 1.706 MB / 366.8 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003517/0.1001, allocations: 47.81 kB / 366.9 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005126/0.1006, allocations: 285.6 kB / 367.2 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009531/0.1016, allocations: 425.2 kB / 367.6 MB, free: 4.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005592/0.1021, allocations: 355.5 kB / 367.9 MB, free: 4.242 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001869/0.104, allocations: 2.145 MB / 370.1 MB, free: 2.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1674/0.2714, allocations: 2.436 MB / 372.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.2731, allocations: 1.037 MB / 373.5 MB, free: 10.94 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.2747, allocations: 1.216 MB / 374.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004634/0.2752, allocations: 293.3 kB / 375 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.2758, allocations: 403.2 kB / 375.4 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006519/0.2765, allocations: 0.7069 MB / 376.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.2777, allocations: 1.233 MB / 377.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004401/0.2821, allocations: 3.623 MB / 381 MB, free: 9.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.2821, allocations: 7.969 kB / 381 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.2821, allocations: 0 / 381 MB, free: 9.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001468/0.2823, allocations: 1.562 kB / 381 MB, free: 9.598 MB / 302.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.2874, allocations: 2.479 MB / 383.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.2874, allocations: 9.125 kB / 383.5 MB, free: 8.168 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000673/0.2881, allocations: 255.2 kB / 383.7 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002269/0.2904, allocations: 1.308 MB / 385 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.806e-05/0.2905, allocations: 159 kB / 385.2 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.2908, allocations: 203.4 kB / 385.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004181/0.295, allocations: 2.619 MB / 388 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.978e-05/0.2951, allocations: 1.469 kB / 388 MB, free: 6.133 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001761/0.2952, allocations: 84.78 kB / 388.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.208e-05/0.2953, allocations: 52.28 kB / 388.2 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.2988, allocations: 2.09 MB / 390.2 MB, free: 4.996 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01012/0.3089, allocations: 7.298 MB / 397.5 MB, free: 15.96 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002195/0.3111, allocations: 2.353 MB / 399.9 MB, free: 13.97 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3125, allocations: 0.9231 MB / 400.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.318e-05/0.3125, allocations: 12.62 kB / 400.8 MB, free: 13.53 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.203e-05/0.3126, allocations: 50.56 kB / 400.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.276e-06/0.3126, allocations: 0 / 400.9 MB, free: 13.47 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.008084/0.3207, allocations: 4.172 MB / 405.1 MB, free: 10.42 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.3208, allocations: 64.41 kB / 405.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001173/0.3219, allocations: 0.8758 MB / 406 MB, free: 9.453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.544e-05/0.322, allocations: 41.7 kB / 406 MB, free: 9.406 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005524/0.3226, allocations: 0.8332 MB / 406.9 MB, free: 8.559 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.3228, allocations: 327 kB / 407.2 MB, free: 8.246 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.3231, allocations: 174.6 kB / 407.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3233, allocations: 345.9 kB / 407.7 MB, free: 7.727 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000771/0.3241, allocations: 493.7 kB / 408.2 MB, free: 7.246 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009206/0.325, allocations: 0.6759 MB / 408.9 MB, free: 6.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001759/0.3268, allocations: 1.203 MB / 410.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.3268, allocations: 0 / 410.1 MB, free: 5.258 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00262/0.3294, allocations: 1.632 MB / 411.7 MB, free: 3.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.3294, allocations: 8 kB / 411.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.3295, allocations: 7.984 kB / 411.7 MB, free: 3.629 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.3306, allocations: 473.9 kB / 412.2 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.3313, allocations: 174.5 kB / 412.3 MB, free: 3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009192/0.3405, allocations: 9.272 MB / 421.6 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008788/0.3414, allocations: 47.95 kB / 421.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.3415, allocations: 36 kB / 421.7 MB, free: 9.145 MB / 334.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.001211/0.3428, allocations: 0.6472 MB / 422.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002316/0.343, allocations: 102.8 kB / 422.4 MB, free: 8.398 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002769/0.3433, allocations: 138.1 kB / 422.6 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.3433, allocations: 12 kB / 422.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-05/0.3433, allocations: 0 / 422.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3434, allocations: 7.359 kB / 422.6 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00601/0.3494, allocations: 3.482 MB / 426.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.3494, allocations: 3.469 kB / 426.1 MB, free: 4.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.35, allocations: 119.5 kB / 426.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.3511, allocations: 466.2 kB / 426.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.771e-05/0.3512, allocations: 20 kB / 426.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00859/0.3598, allocations: 9.205 MB / 435.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3598, allocations: 0 / 435.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00355/0.3633, allocations: 2.31 MB / 438.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006162/0.364, allocations: 275.8 kB / 438.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/0.3641, allocations: 23.98 kB / 438.5 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004542/0.3646, allocations: 43.95 kB / 438.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002106/0.3648, allocations: 84.81 kB / 438.6 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.92e-05/0.3649, allocations: 28 kB / 438.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000811/0.3657, allocations: 0.6122 MB / 439.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3657, allocations: 4.219 kB / 439.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001465/0.3672, allocations: 376 kB / 439.6 MB, free: 6.645 MB / 350.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.0002591/0.3674, allocations: 148.2 kB / 439.8 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002624/0.3701, allocations: 1.83 MB / 441.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3701, allocations: 320 / 441.6 MB, free: 4.641 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001661/0.3718, allocations: 1.237 MB / 442.8 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001354/0.3731, allocations: 312.4 kB / 443.1 MB, free: 3.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.3788, allocations: 3.593 MB / 446.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.3802, allocations: 1.722 MB / 448.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005345/0.3807, allocations: 188.9 kB / 448.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.3809, allocations: 71.42 kB / 448.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3809, allocations: 4 kB / 448.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of Templates: time 0.03508/0.416, allocations: 20.67 MB / 469.4 MB, free: 9.02 MB / 382.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 -s gbode -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