Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001683/0.001683, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002255/0.002255, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.381/2.381, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4193, allocations: 50.54 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.008225/0.4276, allocations: 3.694 MB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.4312, allocations: 1.079 MB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005443/0.4318, allocations: 19.88 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004308/0.4322, allocations: 103.1 kB / 414.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001274/0.4335, allocations: 230.6 kB / 415.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.4342, allocations: 159.7 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.4359, allocations: 0.9689 MB / 416.2 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.4371, allocations: 0.6082 MB / 416.8 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008696/0.438, allocations: 414.6 kB / 417.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.4391, allocations: 0.498 MB / 417.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.4393, allocations: 100 kB / 417.8 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.4397, allocations: 104 kB / 417.9 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003796/0.4401, allocations: 279.2 kB / 418.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007228/0.4408, allocations: 485.7 kB / 418.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001932/0.4427, allocations: 1.298 MB / 420 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.4428, allocations: 0 / 420 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.4428, allocations: 0 / 420 MB, free: 7.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.4428, allocations: 0 / 420 MB, free: 7.523 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.003463/0.4463, allocations: 1.189 MB / 421.1 MB, free: 6.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.4464, allocations: 11.97 kB / 421.2 MB, free: 6.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007047/0.4471, allocations: 119.8 kB / 421.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.4488, allocations: 0.6568 MB / 421.9 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.4489, allocations: 57.23 kB / 422 MB, free: 5.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000185/0.4491, allocations: 64 kB / 422 MB, free: 5.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002554/0.4517, allocations: 0.9189 MB / 423 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.444e-05/0.4518, allocations: 0 / 423 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.4519, allocations: 31.98 kB / 423 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-05/0.452, allocations: 29.31 kB / 423 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.4546, allocations: 0.7897 MB / 423.8 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007087/0.4617, allocations: 2.788 MB / 426.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.4633, allocations: 0.7522 MB / 427.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009594/0.4643, allocations: 337.3 kB / 427.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.166e-05/0.4644, allocations: 4.328 kB / 427.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001017/0.4654, allocations: 389.8 kB / 428.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 3.998e-06/0.4654, allocations: 0 / 428.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.005047/0.4705, allocations: 1.229 MB / 429.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.4707, allocations: 110.6 kB / 429.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001296/0.472, allocations: 0.584 MB / 430 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.402e-05/0.4721, allocations: 33.7 kB / 430 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004589/0.4726, allocations: 371.8 kB / 430.4 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.4728, allocations: 138.1 kB / 430.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/0.4731, allocations: 90.16 kB / 430.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.4734, allocations: 370.8 kB / 431 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006593/0.474, allocations: 217 kB / 431.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008057/0.4749, allocations: 361.7 kB / 431.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.4763, allocations: 0.566 MB / 432.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.103e-06/0.4764, allocations: 4 kB / 432.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002364/0.4788, allocations: 0.7509 MB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.4788, allocations: 10.97 kB / 432.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.4788, allocations: 4.5 kB / 432.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009535/0.4798, allocations: 212.7 kB / 433.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/0.4803, allocations: 71.83 kB / 433.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005865/0.4862, allocations: 3.032 MB / 436.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007001/0.487, allocations: 55.61 kB / 436.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.487, allocations: 20 kB / 436.3 MB, free: 6.555 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (meanVoltage.y_last,$PRE.meanVoltage.y_last,meanCurrent.y_last,$PRE.meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y_last,$PRE.rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0007477/0.4878, allocations: 325.5 kB / 436.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001754/0.488, allocations: 59.28 kB / 436.6 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.4882, allocations: 77.42 kB / 436.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.4883, allocations: 4 kB / 436.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4883, allocations: 0 / 436.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.4883, allocations: 3.984 kB / 436.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00463/0.4929, allocations: 1.748 MB / 438.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.493, allocations: 3.938 kB / 438.5 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.4934, allocations: 43.97 kB / 438.5 MB, free: 4.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007276/0.4942, allocations: 200.7 kB / 438.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.488e-05/0.4942, allocations: 8 kB / 438.7 MB, free: 4.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005987/0.5002, allocations: 2.915 MB / 441.6 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.5003, allocations: 3.938 kB / 441.6 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003484/0.5038, allocations: 1.142 MB / 442.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006079/0.5044, allocations: 196.3 kB / 443 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5046, allocations: 8 kB / 443 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.5051, allocations: 27.97 kB / 443 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.5053, allocations: 47.72 kB / 443 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.5054, allocations: 15.98 kB / 443.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009322/0.5063, allocations: 430.8 kB / 443.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5064, allocations: 0 / 443.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001391/0.5078, allocations: 211.2 kB / 443.7 MB, free: 14.86 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002721/0.5081, allocations: 115.4 kB / 443.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002231/0.5103, allocations: 0.7337 MB / 444.5 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/0.5104, allocations: 7.984 kB / 444.5 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.5116, allocations: 478.2 kB / 445 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001303/0.5129, allocations: 161.6 kB / 445.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004935/0.5179, allocations: 1.575 MB / 446.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.519, allocations: 1.07 MB / 447.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/0.5193, allocations: 39.42 kB / 447.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5193, allocations: 4 kB / 447.9 MB, free: 10.59 MB / 366.1 MB Notification: Performance of Templates: time 0.03141/0.5507, allocations: 13.2 MB / 461.1 MB, free: 13.43 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches