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.001092/0.001092, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.405/1.405, allocations: 227.4 MB / 246.3 MB, free: 9.145 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 70.69 kB / 306.3 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1055, allocations: 50.54 MB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.008447/0.114, allocations: 6.211 MB / 363 MB, free: 8.047 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.1174, allocations: 1.675 MB / 364.7 MB, free: 6.367 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005872/0.1181, allocations: 47.81 kB / 364.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.1187, allocations: 234.4 kB / 365 MB, free: 6.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001047/0.1198, allocations: 369.9 kB / 365.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005539/0.1204, allocations: 311.7 kB / 365.6 MB, free: 5.422 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002064/0.1224, allocations: 2.266 MB / 367.9 MB, free: 3.148 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002419/0.1249, allocations: 2.053 MB / 369.9 MB, free: 1.035 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00112/0.126, allocations: 0.8914 MB / 370.8 MB, free: 144 kB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.183/0.309, allocations: 1.159 MB / 372 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004615/0.3095, allocations: 191.3 kB / 372.2 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007043/0.3102, allocations: 311.6 kB / 372.5 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006181/0.3109, allocations: 0.594 MB / 373.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.3121, allocations: 1.124 MB / 374.2 MB, free: 10.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.3157, allocations: 3.507 MB / 377.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3157, allocations: 0 / 377.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3157, allocations: 1.688 kB / 377.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.432e-05/0.3158, allocations: 0 / 377.7 MB, free: 10.37 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.004999/0.3208, allocations: 2.479 MB / 380.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.3209, allocations: 9.625 kB / 380.2 MB, free: 9.113 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006956/0.3216, allocations: 256.2 kB / 380.4 MB, free: 9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001835/0.3234, allocations: 1.264 MB / 381.7 MB, free: 8.316 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.882e-05/0.3235, allocations: 158.8 kB / 381.9 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.3238, allocations: 201 kB / 382.1 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003962/0.3277, allocations: 2.618 MB / 384.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.3278, allocations: 1.156 kB / 384.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001813/0.328, allocations: 85.2 kB / 384.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.816e-05/0.3281, allocations: 52.41 kB / 384.8 MB, free: 7.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003267/0.3313, allocations: 2.095 MB / 386.9 MB, free: 6.168 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009806/0.3412, allocations: 7.386 MB / 394.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.3433, allocations: 2.36 MB / 396.7 MB, free: 15.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/0.3446, allocations: 0.9312 MB / 397.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.833e-05/0.3447, allocations: 10.22 kB / 397.6 MB, free: 14.69 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3448, allocations: 47.16 kB / 397.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=96): time 3.166e-06/0.3448, allocations: 0 / 397.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=97): time 0.007603/0.3524, allocations: 4.172 MB / 401.8 MB, free: 12.1 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.3524, allocations: 69.67 kB / 401.9 MB, free: 12.02 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.3537, allocations: 0.8707 MB / 402.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.242e-05/0.3538, allocations: 40.58 kB / 402.8 MB, free: 11.49 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/0.3543, allocations: 0.8386 MB / 403.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002502/0.3546, allocations: 323 kB / 403.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002708/0.3549, allocations: 178.6 kB / 404.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.355, allocations: 347.6 kB / 404.5 MB, free: 10.05 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007526/0.3558, allocations: 499.8 kB / 405 MB, free: 9.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008761/0.3567, allocations: 0.6694 MB / 405.6 MB, free: 9.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001671/0.3583, allocations: 1.205 MB / 406.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.3584, allocations: 0 / 406.8 MB, free: 7.754 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002692/0.3611, allocations: 1.627 MB / 408.5 MB, free: 6.141 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.3611, allocations: 4 kB / 408.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.3611, allocations: 9.406 kB / 408.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3623, allocations: 470.5 kB / 408.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.363, allocations: 175 kB / 409.1 MB, free: 5.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00944/0.3724, allocations: 8.445 MB / 417.5 MB, free: 12.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006858/0.3732, allocations: 47.95 kB / 417.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.895e-05/0.3733, allocations: 39.94 kB / 417.6 MB, free: 12.49 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.00134/0.3746, allocations: 0.64 MB / 418.3 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000255/0.3749, allocations: 102.8 kB / 418.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.3752, allocations: 137.1 kB / 418.5 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.977e-05/0.3752, allocations: 15.94 kB / 418.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.669e-05/0.3752, allocations: 0 / 418.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.3752, allocations: 7.969 kB / 418.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006787/0.382, allocations: 3.496 MB / 422 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.3821, allocations: 0 / 422 MB, free: 8.055 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005839/0.3826, allocations: 125.5 kB / 422.1 MB, free: 7.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.3837, allocations: 465.3 kB / 422.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-05/0.3838, allocations: 16 kB / 422.6 MB, free: 7.461 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00883/0.3926, allocations: 8.361 MB / 431 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3926, allocations: 2.625 kB / 431 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.3962, allocations: 2.3 MB / 433.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005615/0.3968, allocations: 279.8 kB / 433.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002069/0.397, allocations: 18.72 kB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005133/0.3976, allocations: 43.95 kB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.3978, allocations: 88.8 kB / 433.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.366e-05/0.3979, allocations: 31.28 kB / 433.7 MB, free: 11.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009746/0.3989, allocations: 0.6161 MB / 434.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3989, allocations: 0 / 434.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001675/0.4006, allocations: 376 kB / 434.7 MB, free: 10.85 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.0003048/0.4009, allocations: 140.9 kB / 434.8 MB, free: 10.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00284/0.4037, allocations: 1.813 MB / 436.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4037, allocations: 0 / 436.7 MB, free: 8.859 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001738/0.4055, allocations: 1.233 MB / 437.9 MB, free: 7.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.4071, allocations: 296 kB / 438.2 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007575/0.4147, allocations: 4.5 MB / 442.7 MB, free: 2.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.4165, allocations: 1.718 MB / 444.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006803/0.4172, allocations: 192.8 kB / 444.6 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.4174, allocations: 67.42 kB / 444.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.4175, allocations: 0 / 444.7 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of Templates: time 0.03373/0.4512, allocations: 19.59 MB / 464.2 MB, free: 13.43 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