Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001586/0.001586, allocations: 180.5 kB / 17.41 MB, free: 4.395 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.922/2.922, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.001323/0.001323, allocations: 86.38 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000549/0.0005491, allocations: 16 kB / 328.1 MB, free: 15.94 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4907/0.4913, allocations: 47.58 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.6665, allocations: 85.42 MB / 461.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.6669, allocations: 75.95 kB / 461.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.121/0.7879, allocations: 32.04 MB / 493.3 MB, free: 10.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.7879, allocations: 4 kB / 493.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002719/0.7882, allocations: 59.88 kB / 493.3 MB, free: 10.8 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.009107/0.7974, allocations: 2.074 MB / 495.4 MB, free: 8.664 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.179e-05/0.7974, allocations: 8.031 kB / 495.4 MB, free: 8.656 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.7991, allocations: 238.2 kB / 495.6 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005141/0.8043, allocations: 1.248 MB / 496.9 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.8047, allocations: 160.5 kB / 497 MB, free: 6.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001154/0.8059, allocations: 204.4 kB / 497.2 MB, free: 6.773 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01046/0.8164, allocations: 2.614 MB / 499.9 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.8165, allocations: 0 / 499.9 MB, free: 4.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007388/0.8173, allocations: 88 kB / 499.9 MB, free: 3.922 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.095e-05/0.8174, allocations: 48 kB / 500 MB, free: 3.875 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00736/0.8248, allocations: 1.956 MB / 0.4902 GB, free: 1.902 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4462/1.271, allocations: 7.513 MB / 0.4975 GB, free: 90.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004975/1.276, allocations: 2.358 MB / 0.4998 GB, free: 89.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003175/1.279, allocations: 0.9345 MB / 0.5007 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001444/1.28, allocations: 9.656 kB / 0.5007 GB, free: 89.17 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.781e-05/1.28, allocations: 48.66 kB / 0.5008 GB, free: 89.13 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 1.576e-05/1.28, allocations: 0 / 0.5008 GB, free: 89.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.01595/1.296, allocations: 4.158 MB / 0.5048 GB, free: 88.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/1.296, allocations: 63.59 kB / 0.5049 GB, free: 88.17 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/1.298, allocations: 0.8545 MB / 0.5057 GB, free: 88.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000218/1.299, allocations: 41.02 kB / 0.5058 GB, free: 88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009173/1.3, allocations: 0.8294 MB / 0.5066 GB, free: 87.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005251/1.3, allocations: 322.5 kB / 0.5069 GB, free: 87.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.828e-05/1.3, allocations: 25.28 kB / 0.5069 GB, free: 87.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/1.3, allocations: 341.3 kB / 0.5072 GB, free: 87.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001481/1.302, allocations: 0.5013 MB / 0.5077 GB, free: 87.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/1.303, allocations: 0.6781 MB / 0.5084 GB, free: 87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/1.307, allocations: 1.218 MB / 0.5096 GB, free: 86.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/1.307, allocations: 0 / 0.5096 GB, free: 86.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00476/1.312, allocations: 1.648 MB / 0.5112 GB, free: 86.36 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/1.312, allocations: 11.56 kB / 0.5112 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-05/1.312, allocations: 7.719 kB / 0.5112 GB, free: 86.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001671/1.314, allocations: 460.8 kB / 0.5117 GB, free: 86.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001016/1.315, allocations: 180.3 kB / 0.5118 GB, free: 86.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01118/1.326, allocations: 8.474 MB / 0.5201 GB, free: 79.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/1.328, allocations: 48.97 kB / 0.5201 GB, free: 79.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001801/1.328, allocations: 36.11 kB / 0.5202 GB, free: 79.5 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.00229/1.33, allocations: 0.6495 MB / 0.5208 GB, free: 79.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/1.331, allocations: 95.09 kB / 0.5209 GB, free: 79.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004187/1.335, allocations: 1.548 MB / 0.5224 GB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.059e-05/1.335, allocations: 11.38 kB / 0.5224 GB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/1.335, allocations: 0 / 0.5224 GB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-05/1.335, allocations: 10.98 kB / 0.5224 GB, free: 78.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/1.346, allocations: 3.548 MB / 0.5259 GB, free: 77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/1.346, allocations: 3 kB / 0.5259 GB, free: 77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008027/1.347, allocations: 128.8 kB / 0.526 GB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/1.348, allocations: 461.9 kB / 0.5265 GB, free: 76.84 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/1.348, allocations: 15.28 kB / 0.5265 GB, free: 76.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/1.359, allocations: 8.381 MB / 0.5347 GB, free: 70.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.359, allocations: 3.281 kB / 0.5347 GB, free: 70.15 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00577/1.364, allocations: 2.336 MB / 0.537 GB, free: 69.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.366, allocations: 280.4 kB / 0.5372 GB, free: 68.96 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002748/1.366, allocations: 26.47 kB / 0.5372 GB, free: 68.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/1.367, allocations: 48.22 kB / 0.5373 GB, free: 68.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004238/1.367, allocations: 86.97 kB / 0.5374 GB, free: 68.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/1.367, allocations: 27.06 kB / 0.5374 GB, free: 68.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001564/1.369, allocations: 0.5991 MB / 0.538 GB, free: 68.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/1.369, allocations: 4 kB / 0.538 GB, free: 68.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003411/1.372, allocations: 388 kB / 0.5384 GB, free: 68.64 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.0006027/1.373, allocations: 172.6 kB / 0.5385 GB, free: 68.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004153/1.377, allocations: 1.889 MB / 0.5404 GB, free: 67.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.377, allocations: 1.312 kB / 0.5404 GB, free: 67.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002348/1.38, allocations: 1.305 MB / 0.5416 GB, free: 66.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/1.382, allocations: 281.9 kB / 0.5419 GB, free: 66.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/1.393, allocations: 4.374 MB / 0.5462 GB, free: 62.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001819/1.395, allocations: 1.688 MB / 0.5478 GB, free: 60.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/1.395, allocations: 63.38 kB / 0.5479 GB, free: 60.9 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/1.395, allocations: 0 / 0.5479 GB, free: 60.9 MB / 378.7 MB Notification: Performance of Templates: time 0.09249/1.488, allocations: 58.35 MB / 0.6049 GB, free: 3.988 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches