Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00108/0.00108, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 226.5 MB / 245.4 MB, free: 6.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009129/0.0009126, allocations: 101.1 kB / 297.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002628/0.0002629, allocations: 7.984 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2427, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1039/0.3466, allocations: 87.49 MB / 496.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.3469, allocations: 75.97 kB / 496.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2606/0.6075, allocations: 32.87 MB / 0.5174 GB, free: 85.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6076, allocations: 0 / 0.5174 GB, free: 85.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001054/0.6077, allocations: 51.25 kB / 0.5174 GB, free: 85.54 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.003672/0.6113, allocations: 2.085 MB / 0.5195 GB, free: 84.56 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.6114, allocations: 11.16 kB / 0.5195 GB, free: 84.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006564/0.6121, allocations: 269.6 kB / 0.5197 GB, free: 84.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00168/0.6138, allocations: 1.257 MB / 0.521 GB, free: 84.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.027e-05/0.6138, allocations: 153.7 kB / 0.5211 GB, free: 84.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.6141, allocations: 202.6 kB / 0.5213 GB, free: 84.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003573/0.6177, allocations: 2.614 MB / 0.5239 GB, free: 82.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.184e-05/0.6177, allocations: 0 / 0.5239 GB, free: 82.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/0.6179, allocations: 88.44 kB / 0.5239 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.6179, allocations: 51.3 kB / 0.524 GB, free: 82.69 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002912/0.6209, allocations: 1.946 MB / 0.5259 GB, free: 81.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009466/0.6303, allocations: 7.521 MB / 0.5332 GB, free: 77.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.6321, allocations: 2.348 MB / 0.5355 GB, free: 74.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.6332, allocations: 0.9293 MB / 0.5364 GB, free: 73.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.959e-05/0.6333, allocations: 20.92 kB / 0.5365 GB, free: 73.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.6334, allocations: 39.56 kB / 0.5365 GB, free: 73.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 4.498e-06/0.6334, allocations: 0 / 0.5365 GB, free: 73.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.006577/0.6399, allocations: 4.154 MB / 0.5406 GB, free: 69.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.64, allocations: 60.41 kB / 0.5406 GB, free: 69.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009409/0.6409, allocations: 0.8562 MB / 0.5414 GB, free: 68.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.676e-05/0.641, allocations: 41.7 kB / 0.5415 GB, free: 68.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.6413, allocations: 0.8217 MB / 0.5423 GB, free: 67.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.6415, allocations: 323.1 kB / 0.5426 GB, free: 67.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.116e-05/0.6416, allocations: 20 kB / 0.5426 GB, free: 67.3 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.244e-05/0.6416, allocations: 345.9 kB / 0.5429 GB, free: 66.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006099/0.6423, allocations: 0.4977 MB / 0.5434 GB, free: 66.46 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006634/0.6429, allocations: 0.6849 MB / 0.5441 GB, free: 65.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.6442, allocations: 1.221 MB / 0.5453 GB, free: 64.42 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.6442, allocations: 0 / 0.5453 GB, free: 64.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002097/0.6463, allocations: 1.647 MB / 0.5469 GB, free: 62.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.6464, allocations: 8 kB / 0.5469 GB, free: 62.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/0.6464, allocations: 7.562 kB / 0.5469 GB, free: 62.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008621/0.6473, allocations: 466.9 kB / 0.5474 GB, free: 62.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000591/0.6479, allocations: 179.7 kB / 0.5475 GB, free: 62.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006063/0.654, allocations: 8.47 MB / 0.5558 GB, free: 53.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009225/0.6549, allocations: 43.95 kB / 0.5558 GB, free: 53.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/0.655, allocations: 36 kB / 0.5559 GB, free: 53.02 MB / 378.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: 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.001193/0.6562, allocations: 0.6435 MB / 0.5565 GB, free: 52.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.6564, allocations: 102.8 kB / 0.5566 GB, free: 52.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.6585, allocations: 1.554 MB / 0.5581 GB, free: 50.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.6585, allocations: 8 kB / 0.5581 GB, free: 50.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6586, allocations: 4 kB / 0.5581 GB, free: 50.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.6586, allocations: 3.984 kB / 0.5581 GB, free: 50.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004758/0.6633, allocations: 3.535 MB / 0.5616 GB, free: 47.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.6634, allocations: 4.281 kB / 0.5616 GB, free: 47.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.6639, allocations: 131.2 kB / 0.5617 GB, free: 46.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008364/0.6647, allocations: 454.7 kB / 0.5622 GB, free: 46.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.6648, allocations: 19.98 kB / 0.5622 GB, free: 46.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00621/0.671, allocations: 8.373 MB / 0.5704 GB, free: 37.58 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.6711, allocations: 4.031 kB / 0.5704 GB, free: 37.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002822/0.6739, allocations: 2.335 MB / 0.5726 GB, free: 35.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004578/0.6744, allocations: 279.8 kB / 0.5729 GB, free: 34.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-05/0.6745, allocations: 19.98 kB / 0.5729 GB, free: 34.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004057/0.6749, allocations: 47.95 kB / 0.573 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001927/0.6751, allocations: 88.81 kB / 0.5731 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.6751, allocations: 27.94 kB / 0.5731 GB, free: 34.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006486/0.6758, allocations: 0.5966 MB / 0.5737 GB, free: 34.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6758, allocations: 480 / 0.5737 GB, free: 34.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001379/0.6772, allocations: 403.9 kB / 0.574 GB, free: 33.75 MB / 378.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: 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.0002381/0.6774, allocations: 163.2 kB / 0.5742 GB, free: 33.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.6795, allocations: 1.889 MB / 0.576 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6795, allocations: 4.188 kB / 0.5761 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.6808, allocations: 1.3 MB / 0.5773 GB, free: 30.26 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.682, allocations: 282.2 kB / 0.5776 GB, free: 29.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/0.6871, allocations: 4.386 MB / 0.5819 GB, free: 25.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009934/0.6881, allocations: 1.714 MB / 0.5835 GB, free: 23.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005234/0.6886, allocations: 184.7 kB / 0.5837 GB, free: 23.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.6888, allocations: 59.44 kB / 0.5838 GB, free: 23.57 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6888, allocations: 7.875 kB / 0.5838 GB, free: 23.57 MB / 378.7 MB Notification: Performance of Templates: time 0.02863/0.7175, allocations: 19.34 MB / 0.6027 GB, free: 4.465 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches