Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.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.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009614/0.0009612, allocations: 179.9 kB / 17.02 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.565/1.565, 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.0007929/0.0007928, allocations: 92.02 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002826, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2833, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1126/0.3959, allocations: 87.04 MB / 462.9 MB, free: 9.609 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003474/0.3963, allocations: 91.94 kB / 462.9 MB, free: 9.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05573/0.4521, allocations: 22.5 MB / 485.4 MB, free: 2.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4521, allocations: 0 / 485.4 MB, free: 2.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.461e-05/0.4522, allocations: 23.98 kB / 485.5 MB, free: 2.801 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002498/0.4547, allocations: 1.22 MB / 486.7 MB, free: 1.523 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4547, allocations: 8.031 kB / 486.7 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/0.4568, allocations: 378.3 kB / 487.1 MB, free: 1.145 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/0.4576, allocations: 0.5334 MB / 487.6 MB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/0.4577, allocations: 74.03 kB / 487.7 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/0.4578, allocations: 108 kB / 487.8 MB, free: 396 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.4596, allocations: 1.047 MB / 488.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.4597, allocations: 11.89 kB / 488.8 MB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.685e-05/0.4598, allocations: 48 kB / 488.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.4598, allocations: 24 kB / 488.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001658/0.4615, allocations: 0.9408 MB / 489.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005451/0.4669, allocations: 3.794 MB / 493.6 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.4696, allocations: 2.492 MB / 496.1 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.499e-05/0.4697, allocations: 93.75 kB / 496.2 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008875/0.4706, allocations: 0.5085 MB / 496.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of pre-optimization done (n=86): time 4.95e-06/0.4706, allocations: 0 / 496.7 MB, free: 6.785 MB / 378.7 MB Notification: Performance of matching and sorting (n=86): time 0.004283/0.4749, allocations: 1.681 MB / 498.4 MB, free: 5.055 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.475, allocations: 196.9 kB / 498.6 MB, free: 4.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004914/0.4755, allocations: 417 kB / 499 MB, free: 4.402 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.479e-05/0.4756, allocations: 41.7 kB / 499.1 MB, free: 4.355 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.4759, allocations: 435.4 kB / 499.5 MB, free: 3.922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.4762, allocations: 275.9 kB / 499.8 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.4762, allocations: 24.03 kB / 499.8 MB, free: 3.625 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4764, allocations: 378.8 kB / 0.4884 GB, free: 3.246 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005517/0.4769, allocations: 277.9 kB / 0.4887 GB, free: 2.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007621/0.4777, allocations: 0.5317 MB / 0.4892 GB, free: 2.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000632/0.4784, allocations: 339.1 kB / 0.4895 GB, free: 2.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.4784, allocations: 4 kB / 0.4895 GB, free: 2.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002082/0.4805, allocations: 1.1 MB / 0.4906 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.4805, allocations: 11.95 kB / 0.4906 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.4805, allocations: 8 kB / 0.4906 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008536/0.4814, allocations: 268.4 kB / 0.4909 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005926/0.482, allocations: 171.7 kB / 0.491 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2353/0.7173, allocations: 4.471 MB / 0.4954 GB, free: 96.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/0.7181, allocations: 118.2 kB / 0.4955 GB, free: 96.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.7182, allocations: 39.58 kB / 0.4956 GB, free: 96.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0004734/0.7187, allocations: 252.6 kB / 0.4958 GB, free: 96.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.7188, allocations: 71.23 kB / 0.4959 GB, free: 96.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.7208, allocations: 1.001 MB / 0.4969 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.7209, allocations: 9.125 kB / 0.4969 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.7209, allocations: 1.219 kB / 0.4969 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.7209, allocations: 7.625 kB / 0.4969 GB, free: 96.34 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/0.724, allocations: 1.979 MB / 0.4988 GB, free: 95.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.724, allocations: 0 / 0.4988 GB, free: 95.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004839/0.7245, allocations: 107.5 kB / 0.4989 GB, free: 95.94 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007484/0.7253, allocations: 266.2 kB / 0.4992 GB, free: 95.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.114e-05/0.7253, allocations: 22.25 kB / 0.4992 GB, free: 95.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004224/0.7296, allocations: 4.435 MB / 0.5035 GB, free: 93.18 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7296, allocations: 0 / 0.5035 GB, free: 93.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002686/0.7323, allocations: 1.429 MB / 0.5049 GB, free: 92.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.7326, allocations: 222.1 kB / 0.5051 GB, free: 92.8 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.51e-05/0.7327, allocations: 16.5 kB / 0.5051 GB, free: 92.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004345/0.7331, allocations: 49.75 kB / 0.5052 GB, free: 92.8 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001617/0.7333, allocations: 78.03 kB / 0.5053 GB, free: 92.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.751e-05/0.7333, allocations: 28.31 kB / 0.5053 GB, free: 92.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003271/0.7337, allocations: 313.6 kB / 0.5056 GB, free: 92.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7337, allocations: 0 / 0.5056 GB, free: 92.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001163/0.7348, allocations: 322.6 kB / 0.5059 GB, free: 92.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (currentSensorQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002634/0.7351, allocations: 176.6 kB / 0.5061 GB, free: 92.6 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.7368, allocations: 1.131 MB / 0.5072 GB, free: 92.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7368, allocations: 0 / 0.5072 GB, free: 92.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.7379, allocations: 0.7448 MB / 0.5079 GB, free: 91.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.7384, allocations: 101.1 kB / 0.508 GB, free: 91.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.7434, allocations: 2.553 MB / 0.5105 GB, free: 90.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.7438, allocations: 1.016 MB / 0.5115 GB, free: 89.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003373/0.7442, allocations: 84.64 kB / 0.5115 GB, free: 89.64 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.7443, allocations: 54.19 kB / 0.5116 GB, free: 89.62 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7443, allocations: 3.938 kB / 0.5116 GB, free: 89.62 MB / 378.7 MB Notification: Performance of Templates: time 0.01603/0.7603, allocations: 11.21 MB / 0.5226 GB, free: 88.93 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/Rectifier/Rectifier.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches