Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009454/0.0009454, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 89.58 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.637e-05/1.639e-05, allocations: 4 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08687/0.0869, allocations: 50.42 MB / 387.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2886/0.3756, allocations: 83.69 MB / 471.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.3758, allocations: 89.5 kB / 471.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0358/0.4116, allocations: 13.69 MB / 484.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4117, allocations: 0 / 484.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.721e-05/0.4117, allocations: 12 kB / 485 MB, free: 13.25 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001872/0.4136, allocations: 0.9525 MB / 485.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4137, allocations: 8.031 kB / 485.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.4139, allocations: 94.88 kB / 486 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.415, allocations: 0.6131 MB / 486.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/0.4151, allocations: 23.94 kB / 486.6 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.4152, allocations: 44 kB / 486.7 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001086/0.4163, allocations: 0.6741 MB / 487.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.4176, allocations: 0.7918 MB / 488.1 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.179e-05/0.4176, allocations: 4 kB / 488.2 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.11e-05/0.4177, allocations: 3.984 kB / 488.2 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.05e-05/0.4177, allocations: 29.31 kB / 488.2 MB, free: 9.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003821/0.4215, allocations: 2.7 MB / 490.9 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007162/0.4223, allocations: 0.706 MB / 491.6 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004453/0.4227, allocations: 312 kB / 491.9 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.4228, allocations: 12.3 kB / 491.9 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000472/0.4232, allocations: 342 kB / 492.2 MB, free: 5.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.4233, allocations: 0 / 492.2 MB, free: 5.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001048/0.4243, allocations: 0.6259 MB / 492.9 MB, free: 5.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.92e-05/0.4244, allocations: 110.8 kB / 493 MB, free: 4.883 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005862/0.425, allocations: 465.2 kB / 493.4 MB, free: 4.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.425, allocations: 33.7 kB / 493.5 MB, free: 4.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.4253, allocations: 351.8 kB / 493.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4254, allocations: 130.1 kB / 493.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.4254, allocations: 0 / 493.9 MB, free: 3.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4256, allocations: 362.8 kB / 494.3 MB, free: 3.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.4258, allocations: 193 kB / 494.5 MB, free: 3.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003295/0.4262, allocations: 321.2 kB / 494.8 MB, free: 2.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003012/0.4265, allocations: 215.7 kB / 495 MB, free: 2.777 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.4265, allocations: 0 / 495 MB, free: 2.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0009329/0.4274, allocations: 0.6575 MB / 495.7 MB, free: 2.109 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4275, allocations: 4 kB / 495.7 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.4275, allocations: 7.938 kB / 495.7 MB, free: 2.098 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004652/0.428, allocations: 196.7 kB / 495.9 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003051/0.4283, allocations: 84.05 kB / 495.9 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002637/0.4309, allocations: 2.566 MB / 498.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.4313, allocations: 43.67 kB / 498.6 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/0.4313, allocations: 16 kB / 498.6 MB, free: 15.08 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.4314, allocations: 134.8 kB / 498.7 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.4315, allocations: 59.33 kB / 498.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.4317, allocations: 57.3 kB / 498.8 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4317, allocations: 4 kB / 498.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.4317, allocations: 7.984 kB / 498.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.4317, allocations: 4 kB / 498.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/0.4337, allocations: 1.46 MB / 0.4886 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4337, allocations: 3.938 kB / 0.4886 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002508/0.4339, allocations: 52 kB / 0.4886 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003959/0.4343, allocations: 191.8 kB / 0.4888 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.375e-05/0.4344, allocations: 7.953 kB / 0.4888 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002661/0.4371, allocations: 2.56 MB / 0.4913 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4371, allocations: 0 / 0.4913 GB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.4384, allocations: 1.01 MB / 0.4923 GB, free: 9.332 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.4387, allocations: 192.5 kB / 0.4925 GB, free: 9.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/0.4388, allocations: 4 kB / 0.4925 GB, free: 9.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.4391, allocations: 19.97 kB / 0.4925 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.4393, allocations: 44.11 kB / 0.4925 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.4393, allocations: 27.89 kB / 0.4926 GB, free: 9.031 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004906/0.4398, allocations: 374.9 kB / 0.4929 GB, free: 8.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4398, allocations: 0 / 0.4929 GB, free: 8.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007872/0.4406, allocations: 195.2 kB / 0.4931 GB, free: 8.477 MB / 378.7 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002221/0.4409, allocations: 119.3 kB / 0.4932 GB, free: 8.352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001021/0.4419, allocations: 0.6499 MB / 0.4939 GB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4419, allocations: 4.125 kB / 0.4939 GB, free: 7.688 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005593/0.4425, allocations: 425.3 kB / 0.4943 GB, free: 7.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.4431, allocations: 114.8 kB / 0.4944 GB, free: 7.145 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4451, allocations: 1.055 MB / 0.4954 GB, free: 6.059 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007048/0.4458, allocations: 1.097 MB / 0.4965 GB, free: 4.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002747/0.4461, allocations: 88.56 kB / 0.4966 GB, free: 4.836 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.4462, allocations: 35.44 kB / 0.4966 GB, free: 4.801 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4462, allocations: 0 / 0.4966 GB, free: 4.801 MB / 378.7 MB Notification: Performance of Templates: time 0.01438/0.4606, allocations: 7.984 MB / 0.5044 GB, free: 12.95 MB / 394.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTapmPulse/DiodeCenterTapmPulse/DiodeCenterTapmPulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches