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.001565/0.001565, allocations: 202.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008875/0.0008875, allocations: 107.3 kB / 297.3 MB, free: 6.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002143/0.0002141, allocations: 4 kB / 357.9 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1929, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.2963, allocations: 87.52 MB / 496.9 MB, free: 3.086 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.2966, allocations: 79.95 kB / 497 MB, free: 3.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2507/0.5473, allocations: 32.88 MB / 0.5175 GB, free: 85.42 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5473, allocations: 0 / 0.5175 GB, free: 85.42 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001474/0.5475, allocations: 51.09 kB / 0.5175 GB, free: 85.41 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.004846/0.5523, allocations: 2.112 MB / 0.5196 GB, free: 84.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.5524, allocations: 11.41 kB / 0.5196 GB, free: 84.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.5535, allocations: 269.4 kB / 0.5198 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.5559, allocations: 1.206 MB / 0.521 GB, free: 83.82 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.5561, allocations: 161.9 kB / 0.5212 GB, free: 83.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004569/0.5565, allocations: 206.3 kB / 0.5214 GB, free: 83.67 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004803/0.5613, allocations: 2.589 MB / 0.5239 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.244e-05/0.5614, allocations: 3.938 kB / 0.5239 GB, free: 82.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002304/0.5616, allocations: 90.03 kB / 0.524 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.303e-05/0.5617, allocations: 51.28 kB / 0.524 GB, free: 82.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003375/0.5651, allocations: 1.942 MB / 0.5259 GB, free: 81.56 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01052/0.5756, allocations: 7.514 MB / 0.5333 GB, free: 75.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.5773, allocations: 2.353 MB / 0.5356 GB, free: 73.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.661e-05/0.5774, allocations: 16.98 kB / 0.5356 GB, free: 73.26 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.5775, allocations: 47.56 kB / 0.5356 GB, free: 73.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.878e-06/0.5775, allocations: 0 / 0.5356 GB, free: 73.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.006511/0.584, allocations: 4.275 MB / 0.5398 GB, free: 68.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.584, allocations: 60.41 kB / 0.5399 GB, free: 68.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.5851, allocations: 0.7733 MB / 0.5406 GB, free: 67.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.5851, allocations: 45.64 kB / 0.5407 GB, free: 67.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.5855, allocations: 0.8254 MB / 0.5415 GB, free: 67.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001773/0.5857, allocations: 327.1 kB / 0.5418 GB, free: 66.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.5857, allocations: 24 kB / 0.5418 GB, free: 66.69 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.5858, allocations: 341.9 kB / 0.5421 GB, free: 66.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.5864, allocations: 0.4938 MB / 0.5426 GB, free: 65.86 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007308/0.5872, allocations: 0.6816 MB / 0.5433 GB, free: 65.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.5879, allocations: 0.5807 MB / 0.5438 GB, free: 64.53 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.5879, allocations: 8 kB / 0.5439 GB, free: 64.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002159/0.5901, allocations: 1.64 MB / 0.5455 GB, free: 62.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.5901, allocations: 14.77 kB / 0.5455 GB, free: 62.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.482e-05/0.5902, allocations: 12 kB / 0.5455 GB, free: 62.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.5912, allocations: 463 kB / 0.5459 GB, free: 62.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006224/0.5918, allocations: 171.7 kB / 0.5461 GB, free: 62.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006438/0.5983, allocations: 8.608 MB / 0.5545 GB, free: 53.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006319/0.5989, allocations: 51.89 kB / 0.5545 GB, free: 53.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.81e-05/0.599, allocations: 36 kB / 0.5546 GB, free: 52.98 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.001048/0.6001, allocations: 0.6346 MB / 0.5552 GB, free: 52.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002336/0.6003, allocations: 102.8 kB / 0.5553 GB, free: 52.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002104/0.6024, allocations: 1.554 MB / 0.5568 GB, free: 50.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6024, allocations: 8 kB / 0.5568 GB, free: 50.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.6024, allocations: 4 kB / 0.5568 GB, free: 50.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.6025, allocations: 7.938 kB / 0.5568 GB, free: 50.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005629/0.6081, allocations: 3.523 MB / 0.5603 GB, free: 47.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.6081, allocations: 7.891 kB / 0.5603 GB, free: 47.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005305/0.6087, allocations: 127.9 kB / 0.5604 GB, free: 46.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008416/0.6095, allocations: 451 kB / 0.5608 GB, free: 46.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.655e-05/0.6096, allocations: 23.98 kB / 0.5608 GB, free: 46.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006217/0.6158, allocations: 8.53 MB / 0.5692 GB, free: 37.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.6158, allocations: 4.031 kB / 0.5692 GB, free: 37.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002793/0.6186, allocations: 2.357 MB / 0.5715 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.6193, allocations: 279.8 kB / 0.5718 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001975/0.6195, allocations: 27.98 kB / 0.5718 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.62, allocations: 43.95 kB / 0.5718 GB, free: 34.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001803/0.6202, allocations: 88.83 kB / 0.5719 GB, free: 34.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.436e-05/0.6202, allocations: 20 kB / 0.5719 GB, free: 34.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000768/0.621, allocations: 0.6005 MB / 0.5725 GB, free: 33.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.621, allocations: 0 / 0.5725 GB, free: 33.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001576/0.6226, allocations: 403.9 kB / 0.5729 GB, free: 33.52 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.0003397/0.623, allocations: 169.5 kB / 0.5731 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002312/0.6253, allocations: 1.888 MB / 0.5749 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6253, allocations: 0 / 0.5749 GB, free: 31.4 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001357/0.6267, allocations: 1.309 MB / 0.5762 GB, free: 30.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001152/0.6278, allocations: 269.2 kB / 0.5764 GB, free: 29.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006014/0.6338, allocations: 4.386 MB / 0.5807 GB, free: 25.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.6353, allocations: 1.753 MB / 0.5824 GB, free: 23.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005943/0.6359, allocations: 180.7 kB / 0.5826 GB, free: 23.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.6361, allocations: 63.42 kB / 0.5827 GB, free: 23.31 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6361, allocations: 0 / 0.5827 GB, free: 23.31 MB / 378.7 MB Notification: Performance of Templates: time 0.02683/0.6629, allocations: 19.01 MB / 0.6012 GB, free: 4.523 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/jenkins/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