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.001912/0.001912, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.002272/0.002272, allocations: 194.3 kB / 23.71 MB, free: 4.406 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.44/1.44, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.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.001551/0.001551, allocations: 55.91 kB / 370.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2505, allocations: 52.19 MB / 423.1 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.008981/0.2595, allocations: 4.148 MB / 427.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.2627, allocations: 1.188 MB / 428.4 MB, free: 9.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004803/0.2632, allocations: 27.81 kB / 428.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005186/0.2637, allocations: 174.6 kB / 428.6 MB, free: 8.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001338/0.2651, allocations: 362 kB / 429 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.2656, allocations: 195.7 kB / 429.2 MB, free: 8.344 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002417/0.268, allocations: 1.607 MB / 430.8 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001283/0.2693, allocations: 0.5677 MB / 431.4 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001177/0.2705, allocations: 0.6931 MB / 432 MB, free: 5.43 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001723/0.2722, allocations: 0.8718 MB / 432.9 MB, free: 4.555 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003509/0.2726, allocations: 176 kB / 433.1 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004316/0.273, allocations: 176 kB / 433.3 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006399/0.2736, allocations: 478.6 kB / 433.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000998/0.2746, allocations: 0.6417 MB / 434.4 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.2777, allocations: 2.272 MB / 436.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2777, allocations: 0 / 436.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.2777, allocations: 0 / 436.6 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.93e-05/0.2777, allocations: 0 / 436.6 MB, free: 0.8242 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: 267 * Number of variables: 267 Notification: Performance of Generate backend data structure: time 0.003615/0.2813, allocations: 2.037 MB / 438.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.2814, allocations: 15.97 kB / 438.7 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/0.2816, allocations: 156 kB / 438.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001806/0.2834, allocations: 0.9397 MB / 439.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.2835, allocations: 82.44 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001823/0.2837, allocations: 108.1 kB / 440 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.2863, allocations: 1.59 MB / 441.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.2863, allocations: 0 / 441.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.2864, allocations: 40 kB / 441.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.833e-05/0.2865, allocations: 42.05 kB / 441.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/0.289, allocations: 1.44 MB / 443.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006948/0.296, allocations: 4.308 MB / 447.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001611/0.2976, allocations: 0.9305 MB / 448.3 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001315/0.2989, allocations: 0.6806 MB / 449 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.2989, allocations: 4.656 kB / 449 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.3, allocations: 0.6452 MB / 449.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.194e-06/0.3, allocations: 0 / 449.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.006013/0.306, allocations: 2.344 MB / 452 MB, free: 1.109 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.3061, allocations: 93.7 kB / 452.1 MB, free: 1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.3073, allocations: 0.8991 MB / 453 MB, free: 88 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.175e-05/0.3074, allocations: 41.7 kB / 453 MB, free: 40 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004971/0.3078, allocations: 0.5318 MB / 453.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002304/0.3081, allocations: 245.9 kB / 453.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/0.3083, allocations: 126.7 kB / 453.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3085, allocations: 330 kB / 454.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007604/0.3092, allocations: 417.7 kB / 454.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009121/0.3102, allocations: 0.5776 MB / 455.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.3117, allocations: 0.9522 MB / 456.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3117, allocations: 0 / 456.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002243/0.314, allocations: 1.279 MB / 457.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.314, allocations: 7.984 kB / 457.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.314, allocations: 4 kB / 457.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000952/0.315, allocations: 408.5 kB / 457.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005081/0.3155, allocations: 107.9 kB / 458 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005953/0.3214, allocations: 4.328 MB / 462.3 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005415/0.322, allocations: 79.64 kB / 462.4 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.322, allocations: 27.98 kB / 462.4 MB, free: 6.41 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_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.0007421/0.3228, allocations: 487.2 kB / 462.9 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.3229, allocations: 103.4 kB / 463 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.3231, allocations: 116.2 kB / 463.1 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.3231, allocations: 11.94 kB / 463.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3232, allocations: 0 / 463.1 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.3232, allocations: 3.984 kB / 463.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004142/0.3273, allocations: 2.278 MB / 465.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3273, allocations: 0 / 465.4 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004322/0.3277, allocations: 79.88 kB / 465.5 MB, free: 3.289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008688/0.3286, allocations: 392.6 kB / 465.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.086e-05/0.3287, allocations: 15.98 kB / 465.9 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005858/0.3345, allocations: 4.293 MB / 470.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.3345, allocations: 0 / 470.2 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.3377, allocations: 1.944 MB / 472.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005663/0.3383, allocations: 219.1 kB / 472.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.3384, allocations: 20 kB / 472.3 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.3388, allocations: 39.95 kB / 472.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.339, allocations: 80.5 kB / 472.5 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/0.3391, allocations: 23.98 kB / 472.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009344/0.34, allocations: 0.6434 MB / 473.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.34, allocations: 4 kB / 473.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001/0.341, allocations: 347.2 kB / 473.5 MB, free: 11.17 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.0002124/0.3412, allocations: 139.1 kB / 473.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.3435, allocations: 1.245 MB / 474.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.3435, allocations: 3.984 kB / 474.9 MB, free: 9.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001313/0.3448, allocations: 0.7841 MB / 475.6 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009804/0.3458, allocations: 239 kB / 475.9 MB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.3506, allocations: 2.636 MB / 478.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009352/0.3515, allocations: 0.798 MB / 479.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00044/0.352, allocations: 163.1 kB / 479.5 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.3521, allocations: 63.42 kB / 479.5 MB, free: 5.008 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3521, allocations: 0 / 479.5 MB, free: 5.008 MB / 382.1 MB Notification: Performance of Templates: time 0.03114/0.3833, allocations: 18.7 MB / 498.2 MB, free: 2.633 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/PowerConverters/Examples/ACDC/RectifierCenterTap2mPulse/DiodeCenterTap2mPulse/DiodeCenterTap2mPulse.csv","/var/lib/jenkins/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: 5.210899334400892]