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.001084/0.001084, allocations: 113.7 kB / 17.69 MB, free: 5.309 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.001128/0.001128, allocations: 191 kB / 18.63 MB, free: 4.375 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.317/1.317, allocations: 222.9 MB / 242.3 MB, free: 15.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009946/0.0009948, allocations: 45.38 kB / 302.1 MB, free: 5.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1021, allocations: 49.45 MB / 351.5 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.007591/0.1097, allocations: 6.207 MB / 357.7 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003636/0.1134, allocations: 1.655 MB / 359.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007259/0.1142, allocations: 39.88 kB / 359.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.1148, allocations: 297.5 kB / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.116, allocations: 425.2 kB / 360.1 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.1166, allocations: 347.6 kB / 360.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001963/0.1186, allocations: 2.133 MB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.1211, allocations: 2.441 MB / 365 MB, free: 6.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.1224, allocations: 1.036 MB / 366.1 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00156/0.124, allocations: 1.21 MB / 367.3 MB, free: 3.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004094/0.1244, allocations: 292 kB / 367.6 MB, free: 3.555 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006846/0.1251, allocations: 431.7 kB / 368 MB, free: 3.133 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.1257, allocations: 0.6974 MB / 368.7 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00108/0.1268, allocations: 1.233 MB / 369.9 MB, free: 1.195 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1618/0.2886, allocations: 3.62 MB / 373.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.2886, allocations: 1.859 kB / 373.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2886, allocations: 3.875 kB / 373.5 MB, free: 16.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.553e-05/0.2887, allocations: 0 / 373.5 MB, free: 16.59 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.004174/0.2929, allocations: 2.472 MB / 376 MB, free: 15.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2929, allocations: 12.92 kB / 376 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003979/0.2934, allocations: 231.5 kB / 376.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002122/0.2955, allocations: 1.283 MB / 377.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.33e-05/0.2956, allocations: 155.6 kB / 377.7 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002732/0.2959, allocations: 203.8 kB / 377.9 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003803/0.2997, allocations: 2.623 MB / 380.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/0.2997, allocations: 2.266 kB / 380.5 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.2999, allocations: 81.56 kB / 380.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.42e-05/0.3, allocations: 51.56 kB / 380.6 MB, free: 14.46 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003007/0.303, allocations: 2.091 MB / 382.7 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009273/0.3123, allocations: 7.283 MB / 390 MB, free: 9.312 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.314, allocations: 2.351 MB / 392.4 MB, free: 7.332 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.3151, allocations: 0.9274 MB / 393.3 MB, free: 6.902 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.19e-05/0.3152, allocations: 9.969 kB / 393.3 MB, free: 6.898 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/0.3152, allocations: 47.66 kB / 393.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.3152, allocations: 0 / 393.3 MB, free: 6.848 MB / 302.1 MB Notification: Performance of matching and sorting (n=97): time 0.007063/0.3223, allocations: 4.176 MB / 397.5 MB, free: 4.301 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.286e-05/0.3223, allocations: 65.17 kB / 397.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.3234, allocations: 0.8627 MB / 398.4 MB, free: 3.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.3234, allocations: 43.52 kB / 398.5 MB, free: 3.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.3238, allocations: 0.8309 MB / 399.3 MB, free: 2.977 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001707/0.3239, allocations: 327.1 kB / 399.6 MB, free: 2.699 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.3242, allocations: 179.3 kB / 399.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.439e-05/0.3243, allocations: 345.8 kB / 400.2 MB, free: 2.266 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/0.3249, allocations: 497.5 kB / 400.6 MB, free: 2.016 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006946/0.3256, allocations: 0.6741 MB / 401.3 MB, free: 1.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3269, allocations: 1.204 MB / 402.5 MB, free: 440 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.327, allocations: 0 / 402.5 MB, free: 440 kB / 302.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002592/0.3296, allocations: 1.63 MB / 404.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3296, allocations: 8 kB / 404.2 MB, free: 14.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.3296, allocations: 4 kB / 404.2 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001162/0.3308, allocations: 470.1 kB / 404.6 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/0.3315, allocations: 168.7 kB / 404.8 MB, free: 14.19 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009135/0.3406, allocations: 9.291 MB / 414.1 MB, free: 4.406 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009499/0.3416, allocations: 51.95 kB / 414.1 MB, free: 4.355 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.04e-05/0.3417, allocations: 32 kB / 414.2 MB, free: 4.324 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.001152/0.3428, allocations: 0.6448 MB / 414.8 MB, free: 3.68 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.3431, allocations: 102.8 kB / 414.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002634/0.3433, allocations: 134 kB / 415 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-05/0.3434, allocations: 15.98 kB / 415 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/0.3434, allocations: 0 / 415 MB, free: 3.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3434, allocations: 3.984 kB / 415.1 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005902/0.3493, allocations: 3.48 MB / 418.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.3493, allocations: 4 kB / 418.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005667/0.3499, allocations: 122 kB / 418.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.3509, allocations: 454.6 kB / 419.1 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.766e-05/0.351, allocations: 27.98 kB / 419.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008423/0.3595, allocations: 9.199 MB / 428.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3595, allocations: 0 / 428.3 MB, free: 5.617 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/0.3631, allocations: 2.31 MB / 430.6 MB, free: 3.285 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007237/0.3638, allocations: 283.8 kB / 430.9 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002789/0.3641, allocations: 16 kB / 430.9 MB, free: 2.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006057/0.3647, allocations: 43.95 kB / 431 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.365, allocations: 94.05 kB / 431.1 MB, free: 2.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.378e-05/0.365, allocations: 24 kB / 431.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0009382/0.366, allocations: 0.6044 MB / 431.7 MB, free: 2.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.366, allocations: 4 kB / 431.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001652/0.3677, allocations: 384 kB / 432.1 MB, free: 1.84 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.0002777/0.3679, allocations: 150.4 kB / 432.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002672/0.3706, allocations: 1.822 MB / 434 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3706, allocations: 0 / 434 MB, free: 15.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001848/0.3725, allocations: 1.246 MB / 435.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.3741, allocations: 305.4 kB / 435.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006225/0.3803, allocations: 3.571 MB / 439.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.3818, allocations: 1.722 MB / 440.9 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005506/0.3824, allocations: 184.9 kB / 441.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.3827, allocations: 71.36 kB / 441.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of SimCode: time 7.02e-07/0.3827, allocations: 0 / 441.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of Templates: time 0.03638/0.4191, allocations: 20.72 MB / 461.8 MB, free: 4.238 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 -s gbode -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/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_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches