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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0007848/0.0007849, allocations: 178.1 kB / 17.04 MB, free: 5.109 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.22/1.22, allocations: 223.3 MB / 241 MB, free: 11.8 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007103/0.0007102, allocations: 85.69 kB / 292.2 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002812/0.0002812, allocations: 11.94 kB / 351.8 MB, free: 15.28 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2266, allocations: 50.4 MB / 402.2 MB, free: 32.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.Rectifier): time 0.004111/0.2307, allocations: 5.377 MB / 407.6 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.2327, allocations: 1.556 MB / 409.1 MB, free: 25.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003336/0.233, allocations: 43.81 kB / 409.2 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003108/0.2333, allocations: 222.4 kB / 409.4 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007138/0.234, allocations: 368.6 kB / 409.8 MB, free: 24.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003364/0.2344, allocations: 211.7 kB / 410 MB, free: 24.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.2355, allocations: 2.11 MB / 412.1 MB, free: 22.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.2368, allocations: 1.633 MB / 413.7 MB, free: 21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005403/0.2374, allocations: 0.7199 MB / 414.4 MB, free: 20.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007504/0.2382, allocations: 0.9218 MB / 415.3 MB, free: 19.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001426/0.2383, allocations: 123.9 kB / 415.5 MB, free: 19.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.2387, allocations: 235.8 kB / 415.7 MB, free: 19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.2389, allocations: 498.3 kB / 416.2 MB, free: 18.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002371/0.2392, allocations: 428.6 kB / 416.6 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001497/0.2407, allocations: 2.896 MB / 419.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2407, allocations: 0 / 419.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2407, allocations: 0 / 419.5 MB, free: 15.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.883e-05/0.2408, allocations: 0 / 419.5 MB, free: 15.18 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.002816/0.2436, allocations: 2.113 MB / 421.6 MB, free: 13.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.2436, allocations: 12.03 kB / 421.6 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003101/0.2439, allocations: 229.3 kB / 421.8 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.2453, allocations: 1.216 MB / 423.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.098e-05/0.2454, allocations: 160.2 kB / 423.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002051/0.2456, allocations: 200 kB / 423.4 MB, free: 11.15 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/0.2488, allocations: 2.61 MB / 426 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.062e-05/0.2488, allocations: 0 / 426 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.249, allocations: 84 kB / 426.1 MB, free: 8.367 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.888e-05/0.249, allocations: 52 kB / 426.2 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002589/0.2516, allocations: 2.085 MB / 428.2 MB, free: 6.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008039/0.2597, allocations: 7.443 MB / 435.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00209/0.2618, allocations: 2.35 MB / 438 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001301/0.2631, allocations: 0.9394 MB / 439 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.596e-05/0.2632, allocations: 12.98 kB / 439 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.2632, allocations: 51.55 kB / 439 MB, free: 11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=96): time 3.487e-06/0.2632, allocations: 0 / 439 MB, free: 11 MB / 314.7 MB Notification: Performance of matching and sorting (n=97): time 0.00719/0.2704, allocations: 4.197 MB / 443.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.2705, allocations: 68.34 kB / 443.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.2716, allocations: 0.8485 MB / 444.2 MB, free: 5.746 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.2716, allocations: 45.69 kB / 444.2 MB, free: 5.695 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000528/0.2722, allocations: 0.8332 MB / 445 MB, free: 4.848 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.2724, allocations: 327.3 kB / 445.3 MB, free: 4.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.248e-05/0.2725, allocations: 16 kB / 445.4 MB, free: 4.508 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2726, allocations: 341.9 kB / 445.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008991/0.2735, allocations: 0.4899 MB / 446.2 MB, free: 3.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.2746, allocations: 0.6739 MB / 446.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.2756, allocations: 0.5728 MB / 447.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.2756, allocations: 0 / 447.4 MB, free: 2.367 MB / 314.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002962/0.2786, allocations: 1.624 MB / 449.1 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.2786, allocations: 8 kB / 449.1 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2786, allocations: 11.94 kB / 449.1 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.2798, allocations: 462.9 kB / 449.5 MB, free: 244 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/0.2806, allocations: 175.8 kB / 449.7 MB, free: 68 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009033/0.2897, allocations: 8.455 MB / 458.2 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.2902, allocations: 56.42 kB / 458.2 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.461e-05/0.2903, allocations: 39.98 kB / 458.3 MB, free: 6.977 MB / 330.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.0009798/0.2913, allocations: 0.6302 MB / 458.9 MB, free: 6.336 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.2915, allocations: 110.7 kB / 459 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.2917, allocations: 138 kB / 459.1 MB, free: 6.082 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.781e-05/0.2918, allocations: 15.94 kB / 459.1 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.2918, allocations: 0 / 459.1 MB, free: 6.066 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2918, allocations: 7.922 kB / 459.1 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/0.2972, allocations: 3.516 MB / 462.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2973, allocations: 0 / 462.7 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005275/0.2978, allocations: 131.9 kB / 462.8 MB, free: 2.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009055/0.2987, allocations: 442.9 kB / 463.2 MB, free: 1.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.2988, allocations: 27.98 kB / 463.3 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007741/0.3065, allocations: 8.366 MB / 471.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3065, allocations: 3.938 kB / 471.6 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003249/0.3098, allocations: 2.311 MB / 473.9 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.3102, allocations: 283.8 kB / 474.2 MB, free: 6.305 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.3104, allocations: 20 kB / 474.2 MB, free: 6.285 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/0.3108, allocations: 44.08 kB / 474.3 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/0.311, allocations: 100.8 kB / 474.4 MB, free: 6.141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.3111, allocations: 20 kB / 474.4 MB, free: 6.121 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007602/0.3118, allocations: 0.6005 MB / 475 MB, free: 5.527 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3118, allocations: 4 kB / 475 MB, free: 5.523 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001336/0.3132, allocations: 384 kB / 475.4 MB, free: 5.148 MB / 346.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.0002818/0.3135, allocations: 148 kB / 475.5 MB, free: 4.996 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002555/0.316, allocations: 1.807 MB / 477.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.316, allocations: 1.312 kB / 477.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001596/0.3176, allocations: 1.238 MB / 478.6 MB, free: 1.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.3189, allocations: 279.1 kB / 478.8 MB, free: 1.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/0.3249, allocations: 4.382 MB / 483.2 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.3263, allocations: 1.687 MB / 484.9 MB, free: 11.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.3265, allocations: 67.42 kB / 485 MB, free: 11.37 MB / 362.7 MB Notification: Performance of SimCode: time 3.9e-07/0.3265, allocations: 0 / 485 MB, free: 11.37 MB / 362.7 MB Notification: Performance of Templates: time 0.2126/0.5391, allocations: 58.28 MB / 0.5305 GB, free: 73.67 MB / 378.7 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/Rectifier/Rectifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches