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.001055/0.001055, allocations: 172.5 kB / 14.1 MB, free: 1.223 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.536/1.536, allocations: 205.2 MB / 219.8 MB, free: 14.28 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.0008225/0.0008225, allocations: 86.7 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.477e-05, allocations: 0 / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09448/0.09452, allocations: 47.58 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.352/0.4466, allocations: 86.95 MB / 457 MB, free: 6.438 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.4469, allocations: 79.86 kB / 457.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05612/0.503, allocations: 22.47 MB / 479.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.503, allocations: 0 / 479.5 MB, free: 1.203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.234e-05/0.5031, allocations: 23.94 kB / 479.5 MB, free: 1.18 MB / 346.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.002507/0.5056, allocations: 1.15 MB / 480.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.5057, allocations: 12.03 kB / 480.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.5077, allocations: 366.4 kB / 481.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008962/0.5086, allocations: 0.545 MB / 481.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.437e-05/0.5087, allocations: 82.03 kB / 481.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.5089, allocations: 100 kB / 481.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.5107, allocations: 1.001 MB / 482.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.5107, allocations: 0 / 482.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.5108, allocations: 43.98 kB / 482.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.5109, allocations: 28 kB / 482.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.5123, allocations: 0.8551 MB / 483.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005938/0.5183, allocations: 3.777 MB / 487.5 MB, free: 8.891 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.5208, allocations: 2.453 MB / 489.9 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/0.5216, allocations: 424 kB / 490.4 MB, free: 5.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.5217, allocations: 97.88 kB / 490.5 MB, free: 5.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007359/0.5225, allocations: 465.5 kB / 490.9 MB, free: 5.055 MB / 362.7 MB Notification: Performance of pre-optimization done (n=86): time 2.995e-06/0.5225, allocations: 3.938 kB / 490.9 MB, free: 5.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=86): time 0.001725/0.5242, allocations: 0.841 MB / 491.8 MB, free: 4.195 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.5244, allocations: 196.7 kB / 491.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005093/0.5249, allocations: 411.8 kB / 492.4 MB, free: 3.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/0.5249, allocations: 41.7 kB / 492.4 MB, free: 3.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003451/0.5253, allocations: 427.5 kB / 492.8 MB, free: 3.078 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002357/0.5255, allocations: 283.9 kB / 493.1 MB, free: 2.797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.5256, allocations: 20 kB / 493.1 MB, free: 2.777 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.5258, allocations: 382.7 kB / 493.5 MB, free: 2.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.5262, allocations: 238 kB / 493.7 MB, free: 2.164 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005738/0.5268, allocations: 492.7 kB / 494.2 MB, free: 1.574 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005063/0.5273, allocations: 314 kB / 494.5 MB, free: 1.266 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5273, allocations: 0 / 494.5 MB, free: 1.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.001699/0.529, allocations: 1.005 MB / 495.5 MB, free: 252 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.529, allocations: 8 kB / 495.5 MB, free: 244 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.5291, allocations: 8 kB / 495.5 MB, free: 236 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008381/0.5299, allocations: 267.8 kB / 495.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/0.5305, allocations: 159.7 kB / 495.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005124/0.5356, allocations: 4.396 MB / 0.4886 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.5363, allocations: 115.1 kB / 0.4887 GB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.5364, allocations: 39.98 kB / 0.4888 GB, free: 11 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 () * 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.0002024/0.5366, allocations: 165.6 kB / 0.4889 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/0.5367, allocations: 67.25 kB / 0.489 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.5385, allocations: 0.927 MB / 0.4899 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.5385, allocations: 8 kB / 0.4899 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.5385, allocations: 0 / 0.4899 GB, free: 9.816 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5385, allocations: 11.94 kB / 0.4899 GB, free: 9.805 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002896/0.5414, allocations: 1.89 MB / 0.4917 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.5415, allocations: 0 / 0.4917 GB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/0.5419, allocations: 107.9 kB / 0.4918 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007288/0.5427, allocations: 257.6 kB / 0.4921 GB, free: 7.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.013e-05/0.5427, allocations: 24 kB / 0.4921 GB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004521/0.5472, allocations: 4.339 MB / 0.4964 GB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.5473, allocations: 4.031 kB / 0.4964 GB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.5494, allocations: 1.314 MB / 0.4976 GB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003248/0.5497, allocations: 208.1 kB / 0.4978 GB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.745e-05/0.5498, allocations: 28 kB / 0.4979 GB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004457/0.5503, allocations: 47.97 kB / 0.4979 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.5504, allocations: 72.67 kB / 0.498 GB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.635e-05/0.5505, allocations: 20 kB / 0.498 GB, free: 1.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003702/0.5509, allocations: 313.6 kB / 0.4983 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5509, allocations: 4 kB / 0.4983 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001132/0.552, allocations: 323.2 kB / 0.4986 GB, free: 476 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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) * 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.0003111/0.5523, allocations: 185.3 kB / 0.4988 GB, free: 280 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001723/0.5541, allocations: 1.036 MB / 0.4998 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5541, allocations: 384 / 0.4998 GB, free: 15.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009561/0.5551, allocations: 0.6945 MB / 0.5005 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.5556, allocations: 111.9 kB / 0.5006 GB, free: 14.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/0.56, allocations: 1.736 MB / 0.5023 GB, free: 12.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006504/0.5607, allocations: 1.014 MB / 0.5033 GB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004369/0.5611, allocations: 85.56 kB / 0.5034 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.5612, allocations: 51.42 kB / 0.5034 GB, free: 11.45 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5613, allocations: 4 kB / 0.5034 GB, free: 11.44 MB / 394.7 MB Notification: Performance of Templates: time 0.01905/0.5803, allocations: 11.32 MB / 0.5145 GB, free: 108 kB / 394.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