Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") translateModel(Modelica.Electrical.MultiPhase.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_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009506/0.0009508, allocations: 95.44 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 11.98 kB / 327.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.251, allocations: 47.57 MB / 375.1 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.Rectifier): time 0.005169/0.2562, allocations: 5.343 MB / 380.4 MB, free: 41.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003665/0.26, allocations: 1.608 MB / 382 MB, free: 39.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009784/0.261, allocations: 33 kB / 382.1 MB, free: 39.89 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.2615, allocations: 214.9 kB / 382.3 MB, free: 39.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0013/0.2628, allocations: 377.8 kB / 382.7 MB, free: 39.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.2634, allocations: 224.3 kB / 382.9 MB, free: 39.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002211/0.2656, allocations: 2.12 MB / 385 MB, free: 37.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00223/0.2678, allocations: 1.984 MB / 387 MB, free: 36.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.269, allocations: 0.7238 MB / 387.7 MB, free: 36.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009754/0.27, allocations: 0.9297 MB / 388.6 MB, free: 35.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001616/0.2701, allocations: 120 kB / 388.7 MB, free: 34.96 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004539/0.2706, allocations: 259.7 kB / 389 MB, free: 34.7 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003007/0.2709, allocations: 0.4906 MB / 389.5 MB, free: 34.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007607/0.2717, allocations: 0.9737 MB / 390.5 MB, free: 33.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001775/0.2735, allocations: 2.895 MB / 393.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2735, allocations: 0 / 393.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2735, allocations: 4 kB / 393.4 MB, free: 30.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.4e-05/0.2736, allocations: 0 / 393.4 MB, free: 30.32 MB / 298.7 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.003254/0.2768, allocations: 2.082 MB / 395.4 MB, free: 28.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.2769, allocations: 8.031 kB / 395.5 MB, free: 28.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/0.2772, allocations: 230.2 kB / 395.7 MB, free: 27.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.2787, allocations: 1.174 MB / 396.9 MB, free: 26.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.2787, allocations: 156.5 kB / 397 MB, free: 26.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.279, allocations: 208.1 kB / 397.2 MB, free: 26.36 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/0.2824, allocations: 2.595 MB / 399.8 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/0.2825, allocations: 4 kB / 399.8 MB, free: 23.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000153/0.2826, allocations: 84 kB / 399.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.372e-05/0.2827, allocations: 52 kB / 399.9 MB, free: 23.54 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.2855, allocations: 2.081 MB / 402 MB, free: 21.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009029/0.2946, allocations: 7.466 MB / 409.5 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.2962, allocations: 2.343 MB / 411.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001151/0.2974, allocations: 0.9433 MB / 412.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.2975, allocations: 16.94 kB / 412.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.2975, allocations: 43.56 kB / 412.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=96): time 3.547e-06/0.2975, allocations: 0 / 412.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=97): time 0.006426/0.3039, allocations: 4.22 MB / 417.1 MB, free: 5.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.304, allocations: 64.34 kB / 417.1 MB, free: 5.797 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009025/0.3049, allocations: 0.8601 MB / 418 MB, free: 4.926 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.305, allocations: 45.7 kB / 418 MB, free: 4.875 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000307/0.3053, allocations: 0.8217 MB / 418.8 MB, free: 4.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.3055, allocations: 327.2 kB / 419.2 MB, free: 3.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.598e-05/0.3055, allocations: 23.94 kB / 419.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.3056, allocations: 345.9 kB / 419.5 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005997/0.3062, allocations: 0.4898 MB / 420 MB, free: 2.855 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006537/0.3068, allocations: 0.6694 MB / 420.7 MB, free: 2.121 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.3081, allocations: 1.205 MB / 421.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.3081, allocations: 0 / 421.9 MB, free: 0.8516 MB / 298.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002364/0.3105, allocations: 1.632 MB / 423.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.3106, allocations: 15.28 kB / 423.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.3106, allocations: 4 kB / 423.5 MB, free: 15.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.3116, allocations: 467 kB / 424 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/0.3123, allocations: 179.6 kB / 424.2 MB, free: 14.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008537/0.3209, allocations: 8.463 MB / 432.6 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000803/0.3217, allocations: 47.95 kB / 432.7 MB, free: 5.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.049e-05/0.3218, allocations: 43.88 kB / 432.7 MB, free: 5.441 MB / 314.7 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 (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 initialization (88): * Single equations (assignments): 82 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.00126/0.3231, allocations: 0.6365 MB / 433.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002324/0.3234, allocations: 102.8 kB / 433.5 MB, free: 4.695 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.3236, allocations: 134 kB / 433.6 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/0.3237, allocations: 12 kB / 433.6 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.3237, allocations: 0 / 433.6 MB, free: 4.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.3237, allocations: 3.984 kB / 433.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005874/0.3296, allocations: 3.536 MB / 437.1 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.3296, allocations: 4 kB / 437.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005765/0.3302, allocations: 131.8 kB / 437.3 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009911/0.3312, allocations: 451.1 kB / 437.7 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-05/0.3313, allocations: 16 kB / 437.7 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008413/0.3397, allocations: 8.381 MB / 446.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3398, allocations: 4.031 kB / 446.1 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003579/0.3433, allocations: 2.308 MB / 448.4 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005617/0.3439, allocations: 275.8 kB / 448.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.3441, allocations: 23.98 kB / 448.7 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.3445, allocations: 51.89 kB / 448.8 MB, free: 4.695 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002271/0.3448, allocations: 88.8 kB / 448.9 MB, free: 4.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-05/0.3448, allocations: 28.09 kB / 448.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008341/0.3457, allocations: 0.6005 MB / 449.5 MB, free: 3.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3457, allocations: 4 kB / 449.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001414/0.3471, allocations: 380 kB / 449.9 MB, free: 3.609 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003126/0.3474, allocations: 143.1 kB / 450 MB, free: 3.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002818/0.3502, allocations: 1.815 MB / 451.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3503, allocations: 0 / 451.8 MB, free: 1.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001695/0.352, allocations: 1.235 MB / 453 MB, free: 308 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.3534, allocations: 290 kB / 453.3 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006582/0.36, allocations: 4.367 MB / 457.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001496/0.3615, allocations: 1.691 MB / 459.4 MB, free: 9.887 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.3618, allocations: 75.42 kB / 459.5 MB, free: 9.812 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3618, allocations: 0 / 459.5 MB, free: 9.812 MB / 346.7 MB Notification: Performance of Templates: time 0.2186/0.5805, allocations: 58.2 MB / 0.5055 GB, free: 102.4 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches