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.001934/0.001934, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.002269/0.002269, allocations: 185 kB / 24.46 MB, free: 3.863 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.423/1.423, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.001595/0.001595, allocations: 43.94 kB / 371.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.241, allocations: 52.18 MB / 423.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.006022/0.247, allocations: 4.155 MB / 428 MB, free: 10.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.2493, allocations: 1.188 MB / 429.2 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003031/0.2496, allocations: 31.75 kB / 429.2 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.25, allocations: 170.7 kB / 429.4 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.251, allocations: 370 kB / 429.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.2514, allocations: 191.7 kB / 429.9 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00177/0.2532, allocations: 1.607 MB / 431.5 MB, free: 6.773 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008588/0.2541, allocations: 0.5677 MB / 432.1 MB, free: 6.168 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008674/0.2549, allocations: 0.6969 MB / 432.8 MB, free: 5.469 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001317/0.2563, allocations: 0.8601 MB / 433.7 MB, free: 4.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002865/0.2565, allocations: 180 kB / 433.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.2569, allocations: 172 kB / 434 MB, free: 4.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.2573, allocations: 490.5 kB / 434.5 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007892/0.2581, allocations: 0.6418 MB / 435.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00242/0.2605, allocations: 2.27 MB / 437.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.2606, allocations: 4 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2606, allocations: 0 / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.158e-05/0.2606, allocations: 0 / 437.4 MB, free: 0.8633 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.003957/0.2646, allocations: 2.036 MB / 439.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2646, allocations: 15.97 kB / 439.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.2649, allocations: 152 kB / 439.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/0.2667, allocations: 0.9436 MB / 440.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.05e-05/0.2668, allocations: 74.44 kB / 440.6 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001761/0.267, allocations: 112.1 kB / 440.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.2697, allocations: 1.582 MB / 442.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.2697, allocations: 4 kB / 442.3 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.2698, allocations: 40 kB / 442.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.899e-05/0.2699, allocations: 46.05 kB / 442.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/0.2724, allocations: 1.429 MB / 443.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007287/0.2797, allocations: 4.32 MB / 448.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001669/0.2814, allocations: 0.9382 MB / 449.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001338/0.2827, allocations: 0.6845 MB / 449.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.2827, allocations: 8.656 kB / 449.8 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/0.2838, allocations: 0.6296 MB / 450.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 2.756e-06/0.2838, allocations: 8 kB / 450.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.006087/0.2899, allocations: 2.344 MB / 452.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.29, allocations: 89.77 kB / 452.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.2913, allocations: 0.8952 MB / 453.7 MB, free: 136 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/0.2914, allocations: 45.69 kB / 453.8 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005364/0.2919, allocations: 0.5318 MB / 454.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.2921, allocations: 246 kB / 454.6 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.2924, allocations: 130.6 kB / 454.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2925, allocations: 334 kB / 455 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007329/0.2933, allocations: 409.7 kB / 455.4 MB, free: 14.44 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008999/0.2942, allocations: 0.5839 MB / 456 MB, free: 13.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.2958, allocations: 0.9483 MB / 456.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.2958, allocations: 0 / 456.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00238/0.2982, allocations: 1.283 MB / 458.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.2982, allocations: 8 kB / 458.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.2982, allocations: 4 kB / 458.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000989/0.2992, allocations: 391.2 kB / 458.6 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.2997, allocations: 119.8 kB / 458.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.3057, allocations: 4.329 MB / 463.1 MB, free: 6.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006325/0.3063, allocations: 79.64 kB / 463.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.543e-05/0.3064, allocations: 31.94 kB / 463.2 MB, free: 6.449 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.0007921/0.3072, allocations: 487.3 kB / 463.6 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.3074, allocations: 95.38 kB / 463.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.3076, allocations: 120.2 kB / 463.9 MB, free: 5.746 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.3076, allocations: 8 kB / 463.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3076, allocations: 0 / 463.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.3076, allocations: 7.984 kB / 463.9 MB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.3115, allocations: 2.263 MB / 466.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3115, allocations: 4 kB / 466.1 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.312, allocations: 95.8 kB / 466.2 MB, free: 3.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008147/0.3128, allocations: 388.4 kB / 466.6 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.3128, allocations: 15.98 kB / 466.6 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/0.3185, allocations: 4.297 MB / 470.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3185, allocations: 0 / 470.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/0.3216, allocations: 1.944 MB / 472.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005973/0.3222, allocations: 215.1 kB / 473.1 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/0.3224, allocations: 19.98 kB / 473.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.3228, allocations: 39.95 kB / 473.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.323, allocations: 88.44 kB / 473.2 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-05/0.3231, allocations: 23.98 kB / 473.2 MB, free: 12.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009233/0.324, allocations: 0.6434 MB / 473.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.324, allocations: 0 / 473.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001046/0.325, allocations: 351.2 kB / 474.2 MB, free: 11.2 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.0002051/0.3252, allocations: 131.2 kB / 474.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00226/0.3275, allocations: 1.246 MB / 475.6 MB, free: 9.805 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3275, allocations: 3.938 kB / 475.6 MB, free: 9.801 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.3289, allocations: 0.7753 MB / 476.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/0.33, allocations: 235.1 kB / 476.6 MB, free: 8.781 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004945/0.3349, allocations: 2.66 MB / 479.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009088/0.3358, allocations: 0.7642 MB / 480 MB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002384/0.3361, allocations: 63.42 kB / 480.1 MB, free: 5.23 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3361, allocations: 0 / 480.1 MB, free: 5.23 MB / 382.1 MB Notification: Performance of Templates: time 0.03078/0.3669, allocations: 22.33 MB / 0.4907 GB, free: 14.96 MB / 414.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: 8.973306335974485]