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.001068/0.001068, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.382/1.382, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001098/0.001098, allocations: 62.48 kB / 306.9 MB, free: 0.6445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09419/0.09531, allocations: 50.54 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007244/0.1026, allocations: 6.235 MB / 363.7 MB, free: 7.832 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.1058, allocations: 1.702 MB / 365.4 MB, free: 6.125 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005165/0.1064, allocations: 47.81 kB / 365.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005681/0.107, allocations: 293.5 kB / 365.7 MB, free: 5.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001158/0.1081, allocations: 429.2 kB / 366.2 MB, free: 5.367 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006734/0.1088, allocations: 339.6 kB / 366.5 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001956/0.1108, allocations: 2.133 MB / 368.6 MB, free: 2.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002483/0.1133, allocations: 2.45 MB / 371.1 MB, free: 392 kB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1862/0.2995, allocations: 1.026 MB / 372.1 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.3016, allocations: 1.219 MB / 373.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005133/0.3022, allocations: 290.7 kB / 373.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009797/0.3032, allocations: 405.8 kB / 374 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006464/0.3038, allocations: 0.698 MB / 374.7 MB, free: 11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001242/0.3051, allocations: 1.237 MB / 375.9 MB, free: 10.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.3092, allocations: 3.591 MB / 379.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3093, allocations: 1.625 kB / 379.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.3093, allocations: 0 / 379.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001253/0.3094, allocations: 0 / 379.5 MB, free: 10.1 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.005563/0.315, allocations: 2.483 MB / 382 MB, free: 8.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.315, allocations: 12.88 kB / 382 MB, free: 8.672 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007214/0.3158, allocations: 257.2 kB / 382.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.3176, allocations: 1.26 MB / 383.5 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.3177, allocations: 158.6 kB / 383.7 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.318, allocations: 198.1 kB / 383.9 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004579/0.3226, allocations: 2.624 MB / 386.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.82e-05/0.3226, allocations: 2.719 kB / 386.5 MB, free: 6.641 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001876/0.3228, allocations: 82 kB / 386.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.721e-05/0.3229, allocations: 51.38 kB / 386.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003789/0.3267, allocations: 2.087 MB / 388.7 MB, free: 5.531 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.3373, allocations: 7.392 MB / 396.1 MB, free: 484 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002304/0.3396, allocations: 2.363 MB / 398.5 MB, free: 14.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.341, allocations: 0.9191 MB / 399.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.335e-05/0.341, allocations: 8.5 kB / 399.4 MB, free: 14.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.3411, allocations: 51.38 kB / 399.4 MB, free: 13.98 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.747e-06/0.3411, allocations: 6.594 kB / 399.5 MB, free: 13.98 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.00853/0.3496, allocations: 4.169 MB / 403.6 MB, free: 11.23 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.625e-05/0.3497, allocations: 60.41 kB / 403.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.3513, allocations: 0.8797 MB / 404.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.093e-05/0.3514, allocations: 37.7 kB / 404.6 MB, free: 10.22 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.352, allocations: 0.8364 MB / 405.4 MB, free: 9.375 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002734/0.3523, allocations: 323.1 kB / 405.8 MB, free: 9.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.3526, allocations: 174.6 kB / 405.9 MB, free: 8.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.3528, allocations: 345.9 kB / 406.3 MB, free: 8.543 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007825/0.3536, allocations: 0.4886 MB / 406.7 MB, free: 8.059 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009074/0.3545, allocations: 0.6694 MB / 407.4 MB, free: 7.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.3562, allocations: 1.206 MB / 408.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3563, allocations: 0 / 408.6 MB, free: 6.074 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002857/0.3591, allocations: 1.632 MB / 410.3 MB, free: 4.461 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.3592, allocations: 13.59 kB / 410.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3592, allocations: 7.938 kB / 410.3 MB, free: 4.445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.3603, allocations: 470.1 kB / 410.7 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006811/0.361, allocations: 178.2 kB / 410.9 MB, free: 3.816 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009299/0.3703, allocations: 9.291 MB / 420.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008112/0.3712, allocations: 47.95 kB / 420.2 MB, free: 9.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.3713, allocations: 36 kB / 420.3 MB, free: 9.945 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.001263/0.3726, allocations: 0.6436 MB / 420.9 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003199/0.3729, allocations: 102.8 kB / 421 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003196/0.3733, allocations: 138.2 kB / 421.2 MB, free: 9.066 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.894e-05/0.3733, allocations: 8 kB / 421.2 MB, free: 9.059 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/0.3733, allocations: 4 kB / 421.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.654e-05/0.3734, allocations: 3.984 kB / 421.2 MB, free: 9.051 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006582/0.3799, allocations: 3.502 MB / 424.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.38, allocations: 0 / 424.7 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.3806, allocations: 123.4 kB / 424.8 MB, free: 5.387 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.3816, allocations: 458 kB / 425.2 MB, free: 4.934 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.609e-05/0.3817, allocations: 19.98 kB / 425.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009378/0.391, allocations: 9.215 MB / 434.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.3911, allocations: 3.938 kB / 434.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003849/0.3949, allocations: 2.314 MB / 436.8 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.3956, allocations: 271.8 kB / 437.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/0.3959, allocations: 20 kB / 437.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005495/0.3964, allocations: 39.95 kB / 437.1 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002267/0.3966, allocations: 96.45 kB / 437.2 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.3967, allocations: 28.09 kB / 437.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001034/0.3978, allocations: 0.6122 MB / 437.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3978, allocations: 0 / 437.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001817/0.3996, allocations: 384 kB / 438.2 MB, free: 7.414 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.000329/0.3999, allocations: 145.3 kB / 438.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003884/0.4038, allocations: 2.104 MB / 440.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4039, allocations: 0 / 440.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/0.4057, allocations: 1.242 MB / 441.7 MB, free: 3.867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001525/0.4072, allocations: 309.1 kB / 442 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006836/0.4141, allocations: 3.63 MB / 445.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/0.4158, allocations: 1.718 MB / 447.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006455/0.4165, allocations: 196.8 kB / 447.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/0.4167, allocations: 71.42 kB / 447.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.4167, allocations: 0 / 447.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of Templates: time 0.04004/0.4567, allocations: 20.65 MB / 468.3 MB, free: 9.504 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 -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