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.001529/0.001529, allocations: 120.9 kB / 18.41 MB, free: 4.684 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.00127/0.00127, allocations: 190.9 kB / 21.35 MB, free: 1.75 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.445/1.445, allocations: 222.9 MB / 247.1 MB, free: 4.211 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.001558/0.001558, allocations: 47.92 kB / 358.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09408/0.09565, allocations: 49.43 MB / 408.1 MB, free: 6.891 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006198/0.1019, allocations: 4.561 MB / 412.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.1042, allocations: 1.215 MB / 413.9 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003093/0.1046, allocations: 27.88 kB / 413.9 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.105, allocations: 162.6 kB / 414.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009372/0.1059, allocations: 358 kB / 414.4 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003961/0.1063, allocations: 183.7 kB / 414.6 MB, free: 380 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001701/0.108, allocations: 1.603 MB / 416.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001331/0.1094, allocations: 1.102 MB / 417.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009047/0.1103, allocations: 0.6775 MB / 418 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00121/0.1115, allocations: 0.8484 MB / 418.8 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002542/0.1118, allocations: 176 kB / 419 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.1121, allocations: 176 kB / 419.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.1126, allocations: 478.7 kB / 419.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008867/0.1135, allocations: 0.7933 MB / 420.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.1158, allocations: 2.254 MB / 422.7 MB, free: 8.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.1158, allocations: 4 kB / 422.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1158, allocations: 0 / 422.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.396e-05/0.1158, allocations: 0 / 422.7 MB, free: 8.211 MB / 350.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.003661/0.1195, allocations: 1.813 MB / 424.5 MB, free: 6.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.1195, allocations: 8.031 kB / 424.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.1198, allocations: 156 kB / 424.7 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.1213, allocations: 0.9937 MB / 425.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.377e-05/0.1214, allocations: 78.44 kB / 425.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.1216, allocations: 112.1 kB / 425.9 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.1242, allocations: 1.553 MB / 427.4 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.219e-05/0.1242, allocations: 3.938 kB / 427.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.1244, allocations: 44 kB / 427.5 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.323e-05/0.1244, allocations: 50.03 kB / 427.5 MB, free: 3.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002514/0.127, allocations: 1.429 MB / 428.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1983/0.3253, allocations: 4.888 MB / 433.8 MB, free: 19.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.3268, allocations: 1.448 MB / 435.3 MB, free: 19.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001165/0.328, allocations: 0.7339 MB / 436 MB, free: 19.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.328, allocations: 9.938 kB / 436 MB, free: 19.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001082/0.3291, allocations: 0.6145 MB / 436.6 MB, free: 19.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.554e-06/0.3291, allocations: 2.156 kB / 436.6 MB, free: 19.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.006006/0.3352, allocations: 2.44 MB / 439.1 MB, free: 18.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.3352, allocations: 90.97 kB / 439.2 MB, free: 18.87 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/0.3365, allocations: 0.9334 MB / 440.1 MB, free: 18.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.3366, allocations: 43 kB / 440.1 MB, free: 18.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003873/0.337, allocations: 0.5333 MB / 440.7 MB, free: 18.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.3372, allocations: 245.5 kB / 440.9 MB, free: 18.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.3374, allocations: 131.2 kB / 441 MB, free: 18.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.583e-05/0.3375, allocations: 334.7 kB / 441.4 MB, free: 18.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006531/0.3381, allocations: 416.4 kB / 441.8 MB, free: 18.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007055/0.3388, allocations: 0.5476 MB / 442.3 MB, free: 17.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.3403, allocations: 0.9471 MB / 443.3 MB, free: 17.76 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3403, allocations: 0 / 443.3 MB, free: 17.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002203/0.3425, allocations: 1.297 MB / 444.6 MB, free: 17.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.3425, allocations: 9.516 kB / 444.6 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/0.3425, allocations: 3.875 kB / 444.6 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009641/0.3435, allocations: 399.2 kB / 445 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004986/0.344, allocations: 116.1 kB / 445.1 MB, free: 17.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005057/0.3491, allocations: 4.515 MB / 449.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006575/0.3498, allocations: 81.84 kB / 449.7 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.3498, allocations: 24.89 kB / 449.7 MB, free: 15.01 MB / 350.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.000728/0.3506, allocations: 499.6 kB / 450.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.3507, allocations: 102.2 kB / 450.3 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.3509, allocations: 119.4 kB / 450.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.351, allocations: 11.39 kB / 450.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.351, allocations: 4.594 kB / 450.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.351, allocations: 4.078 kB / 450.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00361/0.3546, allocations: 2.586 MB / 453 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.3546, allocations: 0 / 453 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/0.3551, allocations: 85.41 kB / 453.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007908/0.3559, allocations: 391.2 kB / 453.5 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.662e-05/0.3559, allocations: 18.33 kB / 453.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004794/0.3607, allocations: 4.48 MB / 458 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3608, allocations: 0 / 458 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002702/0.3635, allocations: 1.967 MB / 459.9 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004523/0.364, allocations: 290.1 kB / 460.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.3642, allocations: 11.53 kB / 460.2 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005299/0.3647, allocations: 44.61 kB / 460.3 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001962/0.3649, allocations: 81.41 kB / 460.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.365, allocations: 18.3 kB / 460.4 MB, free: 8.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009279/0.3659, allocations: 0.6738 MB / 461 MB, free: 7.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3659, allocations: 0 / 461 MB, free: 7.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001157/0.3671, allocations: 347 kB / 461.4 MB, free: 7.941 MB / 350.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.0001758/0.3673, allocations: 142.6 kB / 461.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.3693, allocations: 1.287 MB / 462.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3693, allocations: 3.812 kB / 462.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3704, allocations: 0.8018 MB / 463.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.3715, allocations: 255.4 kB / 463.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004031/0.3755, allocations: 2.673 MB / 466.5 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006334/0.3762, allocations: 1.352 MB / 467.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.3764, allocations: 63.42 kB / 468 MB, free: 2.898 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3764, allocations: 0 / 468 MB, free: 2.898 MB / 350.1 MB Notification: Performance of Templates: time 0.02967/0.4061, allocations: 22.06 MB / 490 MB, free: 12.93 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.436906158924103]