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.001176/0.001176, allocations: 176.6 kB / 8.35 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 221.5 MB / 230.3 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008639/0.0008639, allocations: 97.22 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.345e-05/1.348e-05, allocations: 4 kB / 337 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08399/0.08402, allocations: 50.42 MB / 387.5 MB, free: 7.57 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2929/0.3769, allocations: 85.97 MB / 473.4 MB, free: 8.871 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.3772, allocations: 71.95 kB / 473.5 MB, free: 8.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07955/0.4567, allocations: 32.59 MB / 0.4942 GB, free: 8.008 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4568, allocations: 0 / 0.4942 GB, free: 8.008 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000136/0.4569, allocations: 55.92 kB / 0.4943 GB, free: 7.953 MB / 378.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.004596/0.4615, allocations: 1.951 MB / 0.4962 GB, free: 5.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.4616, allocations: 12.03 kB / 0.4962 GB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007336/0.4623, allocations: 237.2 kB / 0.4964 GB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.4648, allocations: 1.22 MB / 0.4976 GB, free: 4.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/0.4649, allocations: 64 kB / 0.4977 GB, free: 4.367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003647/0.4652, allocations: 124 kB / 0.4978 GB, free: 4.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003357/0.4686, allocations: 1.754 MB / 0.4995 GB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004171/0.4728, allocations: 2.227 MB / 0.5017 GB, free: 116 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.782e-05/0.4728, allocations: 4 kB / 0.5017 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/0.473, allocations: 3.984 kB / 0.5017 GB, free: 108 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.147e-05/0.4731, allocations: 55.95 kB / 0.5017 GB, free: 52 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01136/0.4844, allocations: 7.128 MB / 0.5087 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002009/0.4865, allocations: 2.288 MB / 0.5109 GB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/0.4878, allocations: 0.8877 MB / 0.5118 GB, free: 5.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.724e-05/0.4879, allocations: 16.73 kB / 0.5118 GB, free: 5.336 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.623e-05/0.488, allocations: 39.34 kB / 0.5119 GB, free: 5.289 MB / 394.7 MB Notification: Performance of pre-optimization done (n=96): time 2.435e-06/0.488, allocations: 4 kB / 0.5119 GB, free: 5.285 MB / 394.7 MB Notification: Performance of matching and sorting (n=97): time 0.004557/0.4925, allocations: 2.786 MB / 0.5146 GB, free: 2.422 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.4926, allocations: 64.19 kB / 0.5146 GB, free: 2.344 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000981/0.4936, allocations: 0.6875 MB / 0.5153 GB, free: 1.648 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.788e-05/0.4937, allocations: 29.64 kB / 0.5153 GB, free: 1.613 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005545/0.4942, allocations: 0.8255 MB / 0.5162 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002308/0.4945, allocations: 311.2 kB / 0.5164 GB, free: 476 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.446e-05/0.4945, allocations: 0 / 0.5164 GB, free: 476 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4947, allocations: 345.9 kB / 0.5168 GB, free: 124 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006308/0.4953, allocations: 466.4 kB / 0.5172 GB, free: 15.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007245/0.496, allocations: 0.6318 MB / 0.5178 GB, free: 14.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007443/0.4968, allocations: 0.541 MB / 0.5184 GB, free: 14.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.4968, allocations: 0 / 0.5184 GB, free: 14.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002212/0.499, allocations: 1.499 MB / 0.5198 GB, free: 12.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.499, allocations: 8 kB / 0.5198 GB, free: 12.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.4991, allocations: 4 kB / 0.5198 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009619/0.5, allocations: 455 kB / 0.5203 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006805/0.5007, allocations: 179.7 kB / 0.5204 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007535/0.5083, allocations: 8.165 MB / 0.5284 GB, free: 3.637 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005844/0.5089, allocations: 31.95 kB / 0.5285 GB, free: 3.605 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.98e-05/0.509, allocations: 32.66 kB / 0.5285 GB, free: 3.574 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001922/0.5092, allocations: 140.7 kB / 0.5286 GB, free: 3.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.5094, allocations: 98.78 kB / 0.5287 GB, free: 3.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.5116, allocations: 1.396 MB / 0.5301 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.5116, allocations: 12 kB / 0.5301 GB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5116, allocations: 7.984 kB / 0.5301 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.5116, allocations: 3.984 kB / 0.5301 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005096/0.5167, allocations: 3.125 MB / 0.5331 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.5168, allocations: 8.062 kB / 0.5332 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005739/0.5173, allocations: 123.9 kB / 0.5333 GB, free: 14.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009146/0.5183, allocations: 443 kB / 0.5337 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.842e-05/0.5183, allocations: 8 kB / 0.5337 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007422/0.5258, allocations: 8.087 MB / 0.5416 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.5258, allocations: 0.6562 kB / 0.5416 GB, free: 5.559 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.5289, allocations: 2.188 MB / 0.5437 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/0.5294, allocations: 275.9 kB / 0.544 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.5296, allocations: 4 kB / 0.544 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.5301, allocations: 31.95 kB / 0.544 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.5303, allocations: 92.59 kB / 0.5441 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.5304, allocations: 27.94 kB / 0.5442 GB, free: 2.883 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007397/0.5311, allocations: 0.538 MB / 0.5447 GB, free: 2.348 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5312, allocations: 0 / 0.5447 GB, free: 2.348 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001551/0.5327, allocations: 360 kB / 0.545 GB, free: 1.996 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003513/0.5331, allocations: 155.1 kB / 0.5452 GB, free: 1.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002441/0.5355, allocations: 1.746 MB / 0.5469 GB, free: 32 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5355, allocations: 0 / 0.5469 GB, free: 32 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1821/0.7176, allocations: 1.203 MB / 0.548 GB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.719, allocations: 233.6 kB / 0.5483 GB, free: 116.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.7237, allocations: 2.838 MB / 0.551 GB, free: 116.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/0.725, allocations: 1.752 MB / 0.5528 GB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005619/0.7256, allocations: 177.2 kB / 0.5529 GB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.7258, allocations: 63.28 kB / 0.553 GB, free: 115.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7258, allocations: 1.375 kB / 0.553 GB, free: 115.5 MB / 426.7 MB Notification: Performance of Templates: time 0.02883/0.7546, allocations: 17.22 MB / 0.5698 GB, free: 114.8 MB / 426.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/jenkins/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