Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 117.1 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 189.2 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 51.92 kB / 366.8 MB, free: 328 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09765, allocations: 52.14 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006366/0.104, allocations: 4.577 MB / 423.6 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002509/0.1065, allocations: 1.223 MB / 424.8 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004251/0.1069, allocations: 35.75 kB / 424.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003741/0.1073, allocations: 166.7 kB / 425 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009139/0.1082, allocations: 370 kB / 425.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.1086, allocations: 187.7 kB / 425.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001686/0.1103, allocations: 1.607 MB / 427.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001018/0.1113, allocations: 0.7899 MB / 427.9 MB, free: 3.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00083/0.1122, allocations: 0.697 MB / 428.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.1133, allocations: 0.864 MB / 429.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002319/0.1135, allocations: 176 kB / 429.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002623/0.1138, allocations: 176 kB / 429.8 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004581/0.1142, allocations: 482.6 kB / 430.3 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008656/0.1151, allocations: 0.7934 MB / 431.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.1173, allocations: 2.258 MB / 433.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1173, allocations: 0 / 433.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1173, allocations: 0 / 433.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.537e-05/0.1174, allocations: 0 / 433.3 MB, free: 13.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003429/0.1208, allocations: 1.809 MB / 435.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.1208, allocations: 11.97 kB / 435.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000265/0.1211, allocations: 156 kB / 435.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.1227, allocations: 0.9937 MB / 436.3 MB, free: 10.55 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.224e-05/0.1228, allocations: 82.44 kB / 436.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.1229, allocations: 104.1 kB / 436.5 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.1256, allocations: 1.553 MB / 438 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.675e-05/0.1256, allocations: 0 / 438 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/0.1257, allocations: 51.97 kB / 438.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.359e-05/0.1258, allocations: 42.05 kB / 438.1 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002582/0.1284, allocations: 1.437 MB / 439.6 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008252/0.1366, allocations: 4.895 MB / 444.5 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002737/0.1394, allocations: 1.387 MB / 445.9 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2218/0.3611, allocations: 0.6782 MB / 446.5 MB, free: 30.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.3613, allocations: 8.906 kB / 446.5 MB, free: 30.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/0.3628, allocations: 0.612 MB / 447.2 MB, free: 29.98 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 3.696e-06/0.3628, allocations: 0 / 447.2 MB, free: 29.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.008669/0.3714, allocations: 2.428 MB / 449.6 MB, free: 29.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.7e-05/0.3715, allocations: 89.78 kB / 449.7 MB, free: 29.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001742/0.3732, allocations: 0.942 MB / 450.6 MB, free: 29.6 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.971e-05/0.3733, allocations: 42.03 kB / 450.7 MB, free: 29.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005528/0.3739, allocations: 0.5331 MB / 451.2 MB, free: 29.45 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002574/0.3742, allocations: 239.2 kB / 451.4 MB, free: 29.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003105/0.3745, allocations: 134.3 kB / 451.6 MB, free: 29.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.3745, allocations: 332.7 kB / 451.9 MB, free: 29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009985/0.3755, allocations: 417.6 kB / 452.3 MB, free: 29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.3767, allocations: 0.55 MB / 452.8 MB, free: 28.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002308/0.379, allocations: 0.942 MB / 453.8 MB, free: 28.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.677e-06/0.379, allocations: 5.5 kB / 453.8 MB, free: 28.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00382/0.3828, allocations: 1.285 MB / 455.1 MB, free: 27.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.3828, allocations: 8.688 kB / 455.1 MB, free: 27.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.3829, allocations: 3.312 kB / 455.1 MB, free: 27.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/0.3843, allocations: 404.5 kB / 455.5 MB, free: 27.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007945/0.3851, allocations: 110.4 kB / 455.6 MB, free: 27.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007513/0.3926, allocations: 4.506 MB / 460.1 MB, free: 25.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3936, allocations: 92 kB / 460.2 MB, free: 25.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.103e-05/0.3937, allocations: 25.97 kB / 460.2 MB, free: 25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 15 (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_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001027/0.3947, allocations: 493.5 kB / 460.7 MB, free: 24.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002204/0.395, allocations: 99.38 kB / 460.8 MB, free: 24.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.3953, allocations: 118.7 kB / 460.9 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.3953, allocations: 7.031 kB / 460.9 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.3953, allocations: 0.75 kB / 460.9 MB, free: 24.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.3953, allocations: 12.61 kB / 460.9 MB, free: 24.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006553/0.4019, allocations: 2.586 MB / 463.5 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.407e-06/0.4019, allocations: 0 / 463.5 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006858/0.4026, allocations: 82.39 kB / 463.6 MB, free: 23.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.4039, allocations: 387.8 kB / 464 MB, free: 23.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.906e-05/0.404, allocations: 17.89 kB / 464 MB, free: 23.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007669/0.4117, allocations: 4.475 MB / 468.5 MB, free: 20.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.4117, allocations: 3.938 kB / 468.5 MB, free: 20.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004633/0.4163, allocations: 1.942 MB / 470.4 MB, free: 19.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/0.417, allocations: 288.8 kB / 470.7 MB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.4172, allocations: 17.45 kB / 470.7 MB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007649/0.418, allocations: 46.92 kB / 470.7 MB, free: 19.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.4183, allocations: 82.23 kB / 470.8 MB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/0.4184, allocations: 17.81 kB / 470.8 MB, free: 19.5 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00125/0.4196, allocations: 0.6728 MB / 471.5 MB, free: 19.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4196, allocations: 0 / 471.5 MB, free: 19.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001675/0.4213, allocations: 347.4 kB / 471.9 MB, free: 19.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002285/0.4215, allocations: 142.9 kB / 472 MB, free: 18.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003237/0.4247, allocations: 1.249 MB / 473.2 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.4248, allocations: 0 / 473.2 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001869/0.4266, allocations: 0.7749 MB / 474 MB, free: 17.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/0.4284, allocations: 252.4 kB / 474.3 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00721/0.4356, allocations: 2.659 MB / 476.9 MB, free: 16.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.4368, allocations: 1.36 MB / 478.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004026/0.4372, allocations: 66.08 kB / 478.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4372, allocations: 0 / 478.3 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Templates: time 0.04073/0.4779, allocations: 22.12 MB / 0.4887 GB, free: 10.86 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.22718528995756]