Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.000955/0.0009549, allocations: 181.2 kB / 17.01 MB, free: 5.121 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.595/1.595, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009436/0.0009433, allocations: 92.09 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002831/0.0002831, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.2998, allocations: 47.56 MB / 375.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1085/0.4084, allocations: 85.33 MB / 461.1 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.4087, allocations: 75.95 kB / 461.2 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08407/0.4928, allocations: 32.05 MB / 493.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4928, allocations: 0 / 493.3 MB, free: 11.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001798/0.493, allocations: 59.88 kB / 493.3 MB, free: 10.95 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.005993/0.499, allocations: 2.09 MB / 495.4 MB, free: 8.793 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.536e-05/0.4991, allocations: 8.031 kB / 495.4 MB, free: 8.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.5001, allocations: 241.3 kB / 495.6 MB, free: 8.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.5034, allocations: 1.212 MB / 496.9 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.5035, allocations: 160.1 kB / 497 MB, free: 7.129 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005951/0.5041, allocations: 200 kB / 497.2 MB, free: 6.934 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006086/0.5102, allocations: 2.598 MB / 499.8 MB, free: 4.184 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.632e-05/0.5103, allocations: 4 kB / 499.8 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002701/0.5106, allocations: 88 kB / 499.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-05/0.5106, allocations: 52 kB / 499.9 MB, free: 4.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.5143, allocations: 1.945 MB / 0.4901 GB, free: 2.082 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2599/0.7742, allocations: 7.522 MB / 0.4975 GB, free: 90.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003256/0.7776, allocations: 2.358 MB / 0.4998 GB, free: 89.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.384e-05/0.7777, allocations: 13.91 kB / 0.4998 GB, free: 89.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.87e-05/0.7778, allocations: 47.19 kB / 0.4998 GB, free: 88.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 5.59e-06/0.7778, allocations: 1.406 kB / 0.4998 GB, free: 88.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.009112/0.7869, allocations: 4.289 MB / 0.504 GB, free: 87.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.787, allocations: 59.53 kB / 0.5041 GB, free: 87.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.7882, allocations: 0.7633 MB / 0.5048 GB, free: 87.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.227e-05/0.7882, allocations: 42.02 kB / 0.5049 GB, free: 87.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.7888, allocations: 0.8287 MB / 0.5057 GB, free: 87.35 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003024/0.7891, allocations: 322.8 kB / 0.506 GB, free: 87.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.7891, allocations: 21.59 kB / 0.506 GB, free: 87.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.7893, allocations: 352 kB / 0.5063 GB, free: 86.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006953/0.79, allocations: 0.4976 MB / 0.5068 GB, free: 86.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007756/0.7908, allocations: 0.6769 MB / 0.5075 GB, free: 86.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/0.7916, allocations: 0.578 MB / 0.5081 GB, free: 86.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.7916, allocations: 3.656 kB / 0.5081 GB, free: 86.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002662/0.7943, allocations: 1.635 MB / 0.5097 GB, free: 86.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.7944, allocations: 14.64 kB / 0.5097 GB, free: 86.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.7944, allocations: 10.94 kB / 0.5097 GB, free: 86.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.7955, allocations: 465.5 kB / 0.5101 GB, free: 86.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006827/0.7962, allocations: 179 kB / 0.5103 GB, free: 86.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007613/0.8038, allocations: 8.606 MB / 0.5187 GB, free: 79.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.8049, allocations: 50.33 kB / 0.5187 GB, free: 79.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-05/0.805, allocations: 38.77 kB / 0.5188 GB, free: 79.88 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.001511/0.8065, allocations: 0.6374 MB / 0.5194 GB, free: 79.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000288/0.8068, allocations: 97.41 kB / 0.5195 GB, free: 79.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002347/0.8092, allocations: 1.556 MB / 0.521 GB, free: 78.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.8092, allocations: 10.12 kB / 0.521 GB, free: 78.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.8092, allocations: 3.406 kB / 0.521 GB, free: 78.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.8092, allocations: 7.609 kB / 0.521 GB, free: 78.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006811/0.816, allocations: 3.525 MB / 0.5245 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.8161, allocations: 7.422 kB / 0.5245 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.8167, allocations: 131.2 kB / 0.5246 GB, free: 77.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009417/0.8176, allocations: 459.4 kB / 0.5251 GB, free: 77.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.8177, allocations: 18.95 kB / 0.5251 GB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007026/0.8248, allocations: 8.525 MB / 0.5334 GB, free: 70.53 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.8248, allocations: 2.938 kB / 0.5334 GB, free: 70.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003494/0.8283, allocations: 2.362 MB / 0.5357 GB, free: 69.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007207/0.8291, allocations: 282.9 kB / 0.536 GB, free: 69.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.8293, allocations: 23.31 kB / 0.536 GB, free: 69.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.83, allocations: 48.94 kB / 0.536 GB, free: 69.28 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.8303, allocations: 87.64 kB / 0.5361 GB, free: 69.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.8304, allocations: 22.72 kB / 0.5361 GB, free: 69.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009935/0.8314, allocations: 0.6045 MB / 0.5367 GB, free: 69.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8314, allocations: 3.5 kB / 0.5367 GB, free: 69.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002204/0.8336, allocations: 391.3 kB / 0.5371 GB, free: 68.98 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.0004/0.834, allocations: 166.6 kB / 0.5373 GB, free: 68.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003125/0.8371, allocations: 1.887 MB / 0.5391 GB, free: 67.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.8372, allocations: 1.312 kB / 0.5391 GB, free: 67.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.8388, allocations: 1.305 MB / 0.5404 GB, free: 67.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.8402, allocations: 264.6 kB / 0.5406 GB, free: 66.96 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007242/0.8475, allocations: 4.401 MB / 0.5449 GB, free: 63.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001414/0.849, allocations: 1.756 MB / 0.5467 GB, free: 61.75 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008071/0.8498, allocations: 187.4 kB / 0.5468 GB, free: 61.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.85, allocations: 59.44 kB / 0.5469 GB, free: 61.56 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.85, allocations: 0 / 0.5469 GB, free: 61.56 MB / 378.7 MB Notification: Performance of Templates: time 0.03342/0.8834, allocations: 19 MB / 0.5654 GB, free: 44.21 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches