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.0008442/0.0008443, allocations: 91.25 kB / 16.65 MB, free: 6.59 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.0009972/0.0009973, allocations: 184.5 kB / 17.56 MB, free: 6.203 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.412/1.412, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002707/0.0002708, allocations: 8 kB / 301.4 MB, free: 6.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.09917, allocations: 50.41 MB / 351.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.006111/0.1053, allocations: 5.715 MB / 357.5 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003357/0.1087, allocations: 1.608 MB / 359.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000986/0.1097, allocations: 43.81 kB / 359.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006196/0.1104, allocations: 234.4 kB / 359.4 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001182/0.1116, allocations: 377.9 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006025/0.1122, allocations: 291.8 kB / 360.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002007/0.1142, allocations: 2.262 MB / 362.3 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002259/0.1165, allocations: 2.026 MB / 364.4 MB, free: 7.082 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009878/0.1175, allocations: 0.7274 MB / 365.1 MB, free: 6.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.1188, allocations: 0.9681 MB / 366.1 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001819/0.119, allocations: 120 kB / 366.2 MB, free: 5.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004784/0.1195, allocations: 259.7 kB / 366.4 MB, free: 5.008 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004091/0.1199, allocations: 494.2 kB / 366.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009418/0.1208, allocations: 1.02 MB / 367.9 MB, free: 3.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002735/0.1236, allocations: 3.391 MB / 371.3 MB, free: 92 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1236, allocations: 0 / 371.3 MB, free: 92 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1236, allocations: 0 / 371.3 MB, free: 92 kB / 302.1 MB Notification: Performance of Transformations before backend: time 3.015e-05/0.1236, allocations: 4 kB / 371.3 MB, free: 88 kB / 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.1642/0.2878, allocations: 2.08 MB / 373.4 MB, free: 23.26 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.2879, allocations: 9.859 kB / 373.4 MB, free: 23.26 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007368/0.2886, allocations: 228.4 kB / 373.6 MB, free: 23.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.291, allocations: 1.246 MB / 374.9 MB, free: 22.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.2911, allocations: 155.5 kB / 375 MB, free: 22.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003219/0.2915, allocations: 202.5 kB / 375.2 MB, free: 22.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004824/0.2963, allocations: 2.626 MB / 377.9 MB, free: 21.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.193e-05/0.2964, allocations: 1.375 kB / 377.9 MB, free: 21.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.2965, allocations: 84.88 kB / 377.9 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.394e-05/0.2966, allocations: 52.72 kB / 378 MB, free: 21.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00395/0.3006, allocations: 2.104 MB / 380.1 MB, free: 20.94 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.312, allocations: 7.45 MB / 387.6 MB, free: 16.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001963/0.314, allocations: 2.351 MB / 389.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.3153, allocations: 0.9354 MB / 390.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.3153, allocations: 16.81 kB / 390.9 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.3154, allocations: 39.53 kB / 390.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.527e-06/0.3154, allocations: 0 / 390.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.007275/0.3227, allocations: 4.226 MB / 395.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.3228, allocations: 64.28 kB / 395.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.3241, allocations: 0.8597 MB / 396 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/0.3242, allocations: 43.19 kB / 396.1 MB, free: 10.81 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005084/0.3247, allocations: 0.8225 MB / 396.9 MB, free: 9.973 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/0.325, allocations: 324.6 kB / 397.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.3251, allocations: 89.67 kB / 397.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.3252, allocations: 349.9 kB / 397.7 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006488/0.3258, allocations: 0.4938 MB / 398.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006957/0.3265, allocations: 0.6772 MB / 398.8 MB, free: 7.98 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.3279, allocations: 1.216 MB / 400 MB, free: 6.699 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3279, allocations: 0 / 400 MB, free: 6.699 MB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002077/0.33, allocations: 1.642 MB / 401.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.33, allocations: 8 kB / 401.7 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3301, allocations: 7.938 kB / 401.7 MB, free: 5.023 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009637/0.331, allocations: 478.9 kB / 402.2 MB, free: 4.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006206/0.3317, allocations: 175.8 kB / 402.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007572/0.3392, allocations: 8.468 MB / 410.8 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008708/0.3402, allocations: 52.02 kB / 410.9 MB, free: 11.31 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.3403, allocations: 32 kB / 410.9 MB, free: 11.28 MB / 318.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.001209/0.3415, allocations: 0.6429 MB / 411.5 MB, free: 10.63 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002243/0.3417, allocations: 98.78 kB / 411.6 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.342, allocations: 138 kB / 411.8 MB, free: 10.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.188e-05/0.342, allocations: 12 kB / 411.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.531e-05/0.3421, allocations: 4 kB / 411.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.3421, allocations: 3.984 kB / 411.8 MB, free: 10.38 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005845/0.3479, allocations: 3.527 MB / 415.3 MB, free: 6.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.348, allocations: 8.062 kB / 415.3 MB, free: 6.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.3485, allocations: 131.9 kB / 415.4 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001026/0.3496, allocations: 459.2 kB / 415.9 MB, free: 6.184 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.3496, allocations: 16 kB / 415.9 MB, free: 6.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008569/0.3582, allocations: 8.374 MB / 424.3 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3583, allocations: 3.938 kB / 424.3 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003845/0.3621, allocations: 2.319 MB / 426.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005951/0.3627, allocations: 279.8 kB / 426.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.3629, allocations: 24.09 kB / 426.9 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004555/0.3633, allocations: 43.95 kB / 426.9 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002565/0.3636, allocations: 96.78 kB / 427 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.3636, allocations: 24 kB / 427.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008996/0.3646, allocations: 0.6083 MB / 427.7 MB, free: 9.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3646, allocations: 0 / 427.7 MB, free: 9.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.00161/0.3662, allocations: 384.7 kB / 428 MB, free: 9.445 MB / 334.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.0003094/0.3665, allocations: 151.9 kB / 428.2 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.3693, allocations: 1.821 MB / 430 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3693, allocations: 4 kB / 430 MB, free: 7.414 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/0.371, allocations: 1.234 MB / 431.3 MB, free: 6.133 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.3726, allocations: 284.2 kB / 431.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/0.3795, allocations: 4.581 MB / 436.1 MB, free: 1.246 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.381, allocations: 1.718 MB / 437.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0007323/0.3818, allocations: 196.8 kB / 438 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.382, allocations: 71.42 kB / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of SimCode: time 1.683e-06/0.382, allocations: 0 / 438.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of Templates: time 0.03653/0.4185, allocations: 19.34 MB / 457.4 MB, free: 12.13 MB / 366.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/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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches