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.001176/0.001176, allocations: 117 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001423/0.001423, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 67.88 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2823, allocations: 50.53 MB / 409.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008183/0.2905, allocations: 6.25 MB / 416.2 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004037/0.2946, allocations: 1.686 MB / 417.9 MB, free: 9.648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.2957, allocations: 47.81 kB / 417.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000932/0.2967, allocations: 297.6 kB / 418.2 MB, free: 9.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.2987, allocations: 421.2 kB / 418.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.2997, allocations: 355.5 kB / 419 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002629/0.3024, allocations: 2.141 MB / 421.1 MB, free: 6.398 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.3056, allocations: 2.445 MB / 423.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001465/0.3071, allocations: 1.032 MB / 424.6 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.309, allocations: 1.218 MB / 425.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006645/0.3097, allocations: 292 kB / 426.1 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.3107, allocations: 399.8 kB / 426.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006492/0.3114, allocations: 0.7052 MB / 427.2 MB, free: 252 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001274/0.3127, allocations: 1.237 MB / 428.4 MB, free: 15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.3158, allocations: 3.631 MB / 432 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3159, allocations: 0 / 432 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3159, allocations: 0 / 432 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.241e-05/0.3159, allocations: 0 / 432 MB, free: 11.37 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.004478/0.3204, allocations: 2.484 MB / 434.5 MB, free: 8.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3205, allocations: 8.031 kB / 434.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006556/0.3211, allocations: 258.2 kB / 434.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002151/0.3233, allocations: 1.306 MB / 436.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.3234, allocations: 156.5 kB / 436.2 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002561/0.3237, allocations: 212 kB / 436.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003867/0.3275, allocations: 2.614 MB / 439.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.871e-05/0.3276, allocations: 0 / 439.1 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/0.3278, allocations: 84 kB / 439.1 MB, free: 4.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.346e-05/0.3278, allocations: 52 kB / 439.2 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003195/0.3311, allocations: 2.085 MB / 441.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.3414, allocations: 7.298 MB / 448.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002097/0.3435, allocations: 2.344 MB / 450.9 MB, free: 7.848 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.3449, allocations: 0.9474 MB / 451.9 MB, free: 6.895 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.031e-05/0.345, allocations: 12.94 kB / 451.9 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.345, allocations: 43.56 kB / 451.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of pre-optimization done (n=96): time 3.356e-06/0.345, allocations: 0 / 451.9 MB, free: 6.832 MB / 366.1 MB Notification: Performance of matching and sorting (n=97): time 0.007621/0.3527, allocations: 4.185 MB / 456.1 MB, free: 2.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.3527, allocations: 64.34 kB / 456.2 MB, free: 2.445 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.3538, allocations: 0.8797 MB / 457.1 MB, free: 1.555 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.961e-05/0.3539, allocations: 41.7 kB / 457.1 MB, free: 1.508 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.3544, allocations: 0.8256 MB / 457.9 MB, free: 0.668 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002251/0.3546, allocations: 327.2 kB / 458.2 MB, free: 352 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.3549, allocations: 178.6 kB / 458.4 MB, free: 168 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.355, allocations: 345.9 kB / 458.8 MB, free: 15.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000717/0.3558, allocations: 497.7 kB / 459.2 MB, free: 15.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007996/0.3566, allocations: 0.6694 MB / 459.9 MB, free: 14.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001536/0.3581, allocations: 1.201 MB / 461.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.3581, allocations: 4 kB / 461.1 MB, free: 13.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002495/0.3606, allocations: 1.628 MB / 462.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.3607, allocations: 10.66 kB / 462.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.3607, allocations: 4 kB / 462.8 MB, free: 11.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.3617, allocations: 474.9 kB / 463.2 MB, free: 11.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006462/0.3624, allocations: 175.7 kB / 463.4 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008358/0.3708, allocations: 9.278 MB / 472.7 MB, free: 1.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006828/0.3715, allocations: 51.89 kB / 472.7 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.265e-05/0.3716, allocations: 36 kB / 472.8 MB, free: 1.098 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.001011/0.3726, allocations: 0.6496 MB / 473.4 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/0.3728, allocations: 98.78 kB / 473.5 MB, free: 348 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.3731, allocations: 138.1 kB / 473.6 MB, free: 200 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.979e-05/0.3731, allocations: 8 kB / 473.6 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.3731, allocations: 7.938 kB / 473.6 MB, free: 184 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.3731, allocations: 7.922 kB / 473.7 MB, free: 176 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/0.3786, allocations: 3.477 MB / 477.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.3786, allocations: 4 kB / 477.1 MB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005368/0.3791, allocations: 119.9 kB / 477.3 MB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009234/0.3801, allocations: 463.3 kB / 477.7 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/0.3801, allocations: 23.98 kB / 477.7 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008071/0.3882, allocations: 9.206 MB / 486.9 MB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3883, allocations: 0 / 486.9 MB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003305/0.3916, allocations: 2.308 MB / 489.2 MB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/0.3921, allocations: 279.8 kB / 489.5 MB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3922, allocations: 20 kB / 489.5 MB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004273/0.3927, allocations: 43.95 kB / 489.6 MB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002281/0.3929, allocations: 84.81 kB / 489.7 MB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.552e-05/0.393, allocations: 27.98 kB / 489.7 MB, free: 15.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000799/0.3938, allocations: 0.6161 MB / 490.3 MB, free: 14.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3938, allocations: 0 / 490.3 MB, free: 14.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001485/0.3953, allocations: 380 kB / 490.7 MB, free: 14.45 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.000297/0.3956, allocations: 146.3 kB / 490.8 MB, free: 14.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.3981, allocations: 1.827 MB / 492.6 MB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3981, allocations: 4 kB / 492.7 MB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001569/0.3997, allocations: 1.243 MB / 493.9 MB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.4009, allocations: 295 kB / 494.2 MB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005683/0.4066, allocations: 3.591 MB / 497.8 MB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/0.4079, allocations: 1.687 MB / 499.5 MB, free: 5.488 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.4082, allocations: 75.38 kB / 499.5 MB, free: 5.414 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.4082, allocations: 0 / 499.5 MB, free: 5.414 MB / 414.1 MB Notification: Performance of Templates: time 0.2868/0.695, allocations: 58.78 MB / 0.5452 GB, free: 128.8 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