Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001243, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001446/0.001446, allocations: 217 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.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_trunk_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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 67.89 kB / 379.1 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2614, allocations: 53.41 MB / 432.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006503/0.2679, allocations: 4.651 MB / 437.1 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.2708, allocations: 1.324 MB / 438.4 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004911/0.2713, allocations: 31.81 kB / 438.5 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004384/0.2718, allocations: 174.6 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001074/0.2728, allocations: 374 kB / 439 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.2734, allocations: 219.6 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001908/0.2753, allocations: 1.646 MB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008628/0.2761, allocations: 0.5873 MB / 441.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.2772, allocations: 0.7125 MB / 442.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001393/0.2786, allocations: 0.8718 MB / 443 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.2788, allocations: 176 kB / 443.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.2791, allocations: 192 kB / 443.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000456/0.2796, allocations: 482.5 kB / 443.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008907/0.2805, allocations: 0.7933 MB / 444.7 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002584/0.2831, allocations: 2.286 MB / 446.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2831, allocations: 0 / 446.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.2831, allocations: 0 / 446.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.747e-05/0.2831, allocations: 0 / 446.9 MB, free: 8.188 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.004239/0.2874, allocations: 2.061 MB / 449 MB, free: 6.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2874, allocations: 15.97 kB / 449 MB, free: 6.062 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007689/0.2882, allocations: 207.9 kB / 449.2 MB, free: 5.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.29, allocations: 0.9788 MB / 450.2 MB, free: 4.848 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.768e-05/0.2901, allocations: 78.44 kB / 450.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/0.2903, allocations: 112.1 kB / 450.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002731/0.293, allocations: 1.553 MB / 451.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.179e-05/0.293, allocations: 0 / 451.9 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.2932, allocations: 48 kB / 452 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.611e-05/0.2932, allocations: 46.03 kB / 452 MB, free: 2.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.2958, allocations: 1.433 MB / 453.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007623/0.3034, allocations: 4.826 MB / 458.3 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.305, allocations: 0.9293 MB / 459.2 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001323/0.3063, allocations: 0.6806 MB / 459.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.729e-05/0.3064, allocations: 20.58 kB / 459.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.3074, allocations: 0.6162 MB / 460.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=72): time 2.825e-06/0.3074, allocations: 4 kB / 460.5 MB, free: 10.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006198/0.3136, allocations: 2.352 MB / 462.9 MB, free: 7.879 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.3137, allocations: 89.77 kB / 463 MB, free: 7.773 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/0.3152, allocations: 0.9581 MB / 463.9 MB, free: 6.805 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.3153, allocations: 45.69 kB / 464 MB, free: 6.754 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005374/0.3159, allocations: 0.5436 MB / 464.5 MB, free: 6.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002447/0.3161, allocations: 246 kB / 464.8 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002325/0.3164, allocations: 130.6 kB / 464.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3165, allocations: 334 kB / 465.2 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007668/0.3173, allocations: 417.7 kB / 465.6 MB, free: 5.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008721/0.3182, allocations: 0.5525 MB / 466.2 MB, free: 4.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.3197, allocations: 0.9483 MB / 467.1 MB, free: 3.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.3197, allocations: 7.938 kB / 467.1 MB, free: 3.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002399/0.3221, allocations: 1.287 MB / 468.4 MB, free: 2.176 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.3221, allocations: 7.984 kB / 468.4 MB, free: 2.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.3222, allocations: 8 kB / 468.4 MB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009995/0.3232, allocations: 395.1 kB / 468.8 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005289/0.3237, allocations: 119.8 kB / 468.9 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006153/0.3298, allocations: 4.403 MB / 473.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007607/0.3306, allocations: 79.64 kB / 473.4 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.3307, allocations: 32 kB / 473.5 MB, free: 13.03 MB / 382.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_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) * 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.0009056/0.3316, allocations: 495.3 kB / 473.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/0.3318, allocations: 99.33 kB / 474 MB, free: 12.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002693/0.332, allocations: 124.8 kB / 474.2 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.332, allocations: 7.938 kB / 474.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.332, allocations: 0 / 474.2 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.332, allocations: 7.984 kB / 474.2 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/0.3365, allocations: 2.555 MB / 476.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3365, allocations: 8 kB / 476.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.3369, allocations: 83.88 kB / 476.8 MB, free: 9.602 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009016/0.3378, allocations: 384.5 kB / 477.2 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.682e-05/0.3379, allocations: 23.92 kB / 477.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00589/0.3438, allocations: 4.374 MB / 481.6 MB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3438, allocations: 4 kB / 481.6 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003322/0.3471, allocations: 1.944 MB / 483.5 MB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006872/0.3478, allocations: 231.1 kB / 483.8 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.3479, allocations: 12 kB / 483.8 MB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.3484, allocations: 51.88 kB / 483.8 MB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002347/0.3486, allocations: 84.44 kB / 483.9 MB, free: 2.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.3487, allocations: 20 kB / 483.9 MB, free: 2.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001039/0.3497, allocations: 0.6941 MB / 484.6 MB, free: 1.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3497, allocations: 0 / 484.6 MB, free: 1.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001128/0.3508, allocations: 351.2 kB / 485 MB, free: 1.32 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,meanCurrent.y_last,rootMeanSquareVoltage.mean.y_last,meanVoltage.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: 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.0002276/0.3511, allocations: 123.3 kB / 485.1 MB, free: 1.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.3535, allocations: 1.249 MB / 486.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.3535, allocations: 0 / 486.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.3548, allocations: 0.7837 MB / 487.1 MB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/0.356, allocations: 254.8 kB / 487.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005337/0.3613, allocations: 2.704 MB / 490.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.3625, allocations: 1.366 MB / 491.4 MB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.3628, allocations: 63.42 kB / 491.5 MB, free: 10.69 MB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3628, allocations: 0 / 491.5 MB, free: 10.69 MB / 398.1 MB Notification: Performance of Templates: time 0.03369/0.3965, allocations: 22.5 MB / 0.502 GB, free: 4.242 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.360636377939954]